From 7f7c55d7a1ac5e0945b5970bd8dc035216b1e47d Mon Sep 17 00:00:00 2001 From: nakeee Date: Wed, 7 Jan 2009 11:16:36 +0000 Subject: [PATCH] Plugin specs change please comment git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1820 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/PluginSpecs/PluginSpecs.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Source/PluginSpecs/PluginSpecs.h b/Source/PluginSpecs/PluginSpecs.h index 08ded7b844..6a25752e33 100644 --- a/Source/PluginSpecs/PluginSpecs.h +++ b/Source/PluginSpecs/PluginSpecs.h @@ -31,7 +31,6 @@ // simulate something that looks like win32 // long term, kill these -// glxew defines BOOL. evil. #define HWND void* #define HINSTANCE void* #endif @@ -45,7 +44,7 @@ extern "C" { #define PLUGIN_TYPE_DVD 2 #define PLUGIN_TYPE_PAD 3 #define PLUGIN_TYPE_AUDIO 4 -#define PLUGIN_TYPE_COMPILER 5 +#define PLUGIN_TYPE_COMPILER 5 #define PLUGIN_TYPE_DSP 6 #define PLUGIN_TYPE_WIIMOTE 7 @@ -61,12 +60,12 @@ typedef struct char Name[100]; // Name of the DLL } PLUGIN_INFO; -typedef struct +typedef struct { - HWND mainWindow; - HWND displayWindow; - HINSTANCE hInstance; -} OSData; + void *eventHandler; + void *config; + void *messageLogger; +} PLUGIN_GLOBALS; #if defined(__cplusplus) }