aboutsummaryrefslogtreecommitdiff
path: root/src/core/frontend/emu_window.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-11 20:20:19 -0400
committerLioncash <mathew1800@gmail.com>2018-08-11 20:20:21 -0400
commit53e86e35eb736268cf34c7411b13c395c5f5f708 (patch)
treea16166777acb3d5af7915496827408e1ec7025bd /src/core/frontend/emu_window.cpp
parent20f29b25288e2d225b5be3e9d487a08f37d536ff (diff)
core: Namespace EmuWindow
Gets the class out of the global namespace.
Diffstat (limited to 'src/core/frontend/emu_window.cpp')
-rw-r--r--src/core/frontend/emu_window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/frontend/emu_window.cpp b/src/core/frontend/emu_window.cpp
index 2d776c693b..9dd493efbb 100644
--- a/src/core/frontend/emu_window.cpp
+++ b/src/core/frontend/emu_window.cpp
@@ -8,6 +8,8 @@
#include "core/frontend/input.h"
#include "core/settings.h"
+namespace Core::Frontend {
+
class EmuWindow::TouchState : public Input::Factory<Input::TouchDevice>,
public std::enable_shared_from_this<TouchState> {
public:
@@ -108,3 +110,5 @@ void EmuWindow::TouchMoved(unsigned framebuffer_x, unsigned framebuffer_y) {
void EmuWindow::UpdateCurrentFramebufferLayout(unsigned width, unsigned height) {
NotifyFramebufferLayoutChanged(Layout::DefaultFrameLayout(width, height));
}
+
+} // namespace Core::Frontend