diff options
| author | Glenn Rice <glennricster@gmail.com> | 2010-07-30 03:51:49 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2010-07-30 03:51:49 +0000 |
| commit | 06fb0c292a8bfa392f6dced5ae0da6d1f34c8a9a (patch) | |
| tree | 12c54da9d85bf0f8352cb3ffa9bd109c4156eec1 /Source/Core/Common | |
| parent | 75bd5ed6453d905002d2b2b793ed2398c81cc167 (diff) | |
Removed the hackery that was being done with the plugin configuration dialogs on windows. That was unnecessary and ugly. The HWND type is dead for non windows. Also cleaned up the gui a little.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5999 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Src/Plugin.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/Common/Src/Plugin.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Common/Src/Plugin.cpp b/Source/Core/Common/Src/Plugin.cpp index e9871fdc96..271b044ac3 100644 --- a/Source/Core/Common/Src/Plugin.cpp +++ b/Source/Core/Common/Src/Plugin.cpp @@ -93,7 +93,7 @@ bool CPlugin::GetInfo(PLUGIN_INFO& _pluginInfo) } // Config: Open the Config window -void CPlugin::Config(HWND _hwnd) +void CPlugin::Config(void *_hwnd) { if (m_DllConfig != NULL) m_DllConfig(_hwnd); diff --git a/Source/Core/Common/Src/Plugin.h b/Source/Core/Common/Src/Plugin.h index a557c15dd8..2642bcdb2a 100644 --- a/Source/Core/Common/Src/Plugin.h +++ b/Source/Core/Common/Src/Plugin.h @@ -25,7 +25,7 @@ namespace Common { typedef void (__cdecl * TGetDllInfo)(PLUGIN_INFO*); - typedef void (__cdecl * TDllConfig)(HWND); + typedef void (__cdecl * TDllConfig)(void *); typedef void* (__cdecl * TDllDebugger)(void *, bool); typedef void (__cdecl * TSetDllGlobals)(PLUGIN_GLOBALS*); typedef void (__cdecl * TInitialize)(void *); @@ -47,8 +47,8 @@ public: void SetGlobals(PLUGIN_GLOBALS* _PluginGlobals); void *LoadSymbol(const char *sym); - void Config(HWND _hwnd); - void About(HWND _hwnd); + void Config(void *_hwnd); + void About(void *_hwnd); void *Debug(void *Parent, bool Show); void DoState(unsigned char **ptr, int mode); void EmuStateChange(PLUGIN_EMUSTATE newState); |
