rtoss - Diff between revs 181 and 182

Subversion Repositories:
Rev:
Show entire file - Ignore whitespace
Rev 181 Rev 182
Line -... Line 1...
-   1 #ifndef NULLSOFT_WINAMP_GEN_H
-   2 #define NULLSOFT_WINAMP_GEN_H
-   3
-   4 #include <windows.h>
-   5
-   6 #define GEN_INIT_SUCCESS 0
-   7
-   8 // return values from the winampUninstallPlugin(HINSTANCE hdll, HWND parent, int param)
-   9 // which determine if we can uninstall the plugin immediately or on winamp restart
-   10 //
-   11 // uninstall support was added from 5.0+ and uninstall now support from 5.5+
-   12 // it is down to you to ensure that if uninstall now is returned that it will not cause a crash
-   13 // (ie don't use if you've been subclassing the main window)
-   14 #define GEN_PLUGIN_UNINSTALL_NOW 0x1
-   15 #define GEN_PLUGIN_UNINSTALL_REBOOT 0x0
-   16
1 typedef struct { 17 typedef struct {
2 int version; 18 int version;
3 char *description; 19 char *description;
4 int (*init)(); 20 int (*init)();
5 void (*config)(); 21 void (*config)();
Line 7... Line 23...
7 HWND hwndParent; 23 HWND hwndParent;
8 HINSTANCE hDllInstance; 24 HINSTANCE hDllInstance;
9 } winampGeneralPurposePlugin; 25 } winampGeneralPurposePlugin;
10 26
11 #define GPPHDR_VER 0x10 27 #define GPPHDR_VER 0x10
-   28 #ifdef __cplusplus
-   29 extern "C" {
-   30 #endif
-   31 //extern winampGeneralPurposePlugin *gen_plugins[256];
-   32 typedef winampGeneralPurposePlugin * (*winampGeneralPurposePluginGetter)();
-   33 #ifdef __cplusplus
-   34 }
-   35 #endif
12 36
13 extern winampGeneralPurposePlugin *gen_plugins[256]; -  
14 typedef winampGeneralPurposePlugin * (*winampGeneralPurposePluginGetter)(); -  
-   37 #endif