mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-19 12:31:17 +01:00
a82675b7d5
Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
48 lines
1.7 KiB
C++
48 lines
1.7 KiB
C++
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
// Host - defines an interface for the emulator core to communicate back to the
|
|
// OS-specific layer
|
|
|
|
// The emulator core is abstracted from the OS using 2 interfaces:
|
|
// Common and Host.
|
|
|
|
// Common simply provides OS-neutral implementations of things like threads, mutexes,
|
|
// INI file manipulation, memory mapping, etc.
|
|
|
|
// Host is an abstract interface for communicating things back to the host. The emulator
|
|
// core is treated as a library, not as a main program, because it is far easier to
|
|
// write GUI interfaces that control things than to squash GUI into some model that wasn't
|
|
// designed for it.
|
|
|
|
// The host can be just a command line app that opens a window, or a full blown debugger
|
|
// interface.
|
|
|
|
bool Host_RendererHasFocus();
|
|
void Host_ConnectWiimote(int wm_idx, bool connect);
|
|
bool Host_GetKeyState(int keycode);
|
|
void Host_GetRenderWindowSize(int& x, int& y, int& width, int& height);
|
|
void Host_Message(int Id);
|
|
void Host_NotifyMapLoaded();
|
|
void Host_RefreshDSPDebuggerWindow();
|
|
void Host_RequestRenderWindowSize(int width, int height);
|
|
void Host_SetStartupDebuggingParameters();
|
|
void Host_SetWiiMoteConnectionState(int _State);
|
|
void Host_ShowJitResults(unsigned int address);
|
|
void Host_SysMessage(const char *fmt, ...);
|
|
void Host_UpdateBreakPointView();
|
|
void Host_UpdateDisasmDialog();
|
|
void Host_UpdateLogDisplay();
|
|
void Host_UpdateMainFrame();
|
|
void Host_UpdateStatusBar(const std::string& text, int Filed = 0);
|
|
void Host_UpdateTitle(const std::string& title);
|
|
|
|
// TODO (neobrain): Remove these from host!
|
|
void* Host_GetInstance();
|
|
void* Host_GetRenderHandle();
|