1
// Copyright 2013 Dolphin Emulator Project
2
// Licensed under GPLv2
3
// Refer to the license.txt file included.
9
// Host - defines an interface for the emulator core to communicate back to the
12
// The emulator core is abstracted from the OS using 2 interfaces:
15
// Common simply provides OS-neutral implementations of things like threads, mutexes,
16
// INI file manipulation, memory mapping, etc.
18
// Host is an abstract interface for communicating things back to the host. The emulator
19
// core is treated as a library, not as a main program, because it is far easier to
20
// write GUI interfaces that control things than to squash GUI into some model that wasn't
23
// The host can be just a command line app that opens a window, or a full blown debugger
26
bool Host_RendererHasFocus();
27
void Host_ConnectWiimote(int wm_idx, bool connect);
28
bool Host_GetKeyState(int keycode);
29
void Host_GetRenderWindowSize(int& x, int& y, int& width, int& height);
30
void Host_Message(int Id);
31
void Host_NotifyMapLoaded();
32
void Host_RefreshDSPDebuggerWindow();
33
void Host_RequestRenderWindowSize(int width, int height);
34
void Host_SetStartupDebuggingParameters();
35
void Host_SetWiiMoteConnectionState(int _State);
36
void Host_ShowJitResults(unsigned int address);
37
void Host_SysMessage(const char *fmt, ...);
38
void Host_UpdateBreakPointView();
39
void Host_UpdateDisasmDialog();
40
void Host_UpdateLogDisplay();
41
void Host_UpdateMainFrame();
42
void Host_UpdateStatusBar(const char* _pText, int Filed = 0);
43
void Host_UpdateTitle(const char* title);
45
// TODO (neobrain): Remove these from host!
46
void* Host_GetInstance();
47
void* Host_GetRenderHandle();