mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
40 lines
820 B
C++
40 lines
820 B
C++
#include "../Core/Host.h"
|
|
#include "InputDevice.h"
|
|
#include <list>
|
|
#include <memory>
|
|
|
|
class WindowsHost : public Host
|
|
{
|
|
public:
|
|
WindowsHost(HWND mainWindow, HWND displayWindow)
|
|
{
|
|
mainWindow_ = mainWindow;
|
|
displayWindow_ = displayWindow;
|
|
input = getInputDevices();
|
|
}
|
|
void UpdateMemView();
|
|
void UpdateDisassembly();
|
|
void UpdateUI();
|
|
void SetDebugMode(bool mode);
|
|
|
|
void AddSymbol(std::string name, u32 addr, u32 size, int type);
|
|
|
|
void InitGL();
|
|
void BeginFrame();
|
|
void ShutdownGL();
|
|
|
|
void InitSound(PMixer *mixer);
|
|
void UpdateSound();
|
|
void ShutdownSound();
|
|
|
|
bool IsDebuggingEnabled();
|
|
void BootDone();
|
|
void PrepareShutdown();
|
|
bool AttemptLoadSymbolMap();
|
|
void SetWindowTitle(const char *message);
|
|
|
|
private:
|
|
HWND displayWindow_;
|
|
HWND mainWindow_;
|
|
std::list<std::shared_ptr<InputDevice>> input;
|
|
}; |