#pragma once #include "Core/Host.h" #include #include #include "Windows/InputDevice.h" class UWPHost : public Host { public: UWPHost(); ~UWPHost(); void UpdateMemView() override; void UpdateDisassembly() override; void UpdateUI() override; void SetDebugMode(bool mode) override; // If returns false, will return a null context bool InitGraphics(std::string *error_message, GraphicsContext **ctx) override; void PollControllers() override; void ShutdownGraphics() override; void InitSound() override; void UpdateSound() override; void ShutdownSound() override; bool IsDebuggingEnabled() override; void BootDone() override; bool AttemptLoadSymbolMap() override; void SaveSymbolMap() override; void NotifySymbolMapUpdated() override; void SetWindowTitle(const char *message) override; void ToggleDebugConsoleVisibility() override; bool CanCreateShortcut() override; bool CreateDesktopShortcut(std::string argumentPath, std::string title) override; void NotifyUserMessage(const std::string &message, float duration = 1.0f, u32 color = 0x00FFFFFF, const char *id = nullptr) override; void NotifySwitchUMDUpdated() override {} GraphicsContext *GetGraphicsContext() { return nullptr; } private: void SetConsolePosition(); void UpdateConsolePosition(); std::list> input; };