core: Namespace EmuWindow

Gets the class out of the global namespace.
This commit is contained in:
Lioncash 2018-08-11 20:20:19 -04:00
parent 403dfd68fc
commit 0a93b45b6a
14 changed files with 44 additions and 22 deletions

View file

@ -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