11
|
1 #ifndef __plugin_h
|
|
2 #define __plugin_h
|
|
3
|
|
4 #include <windef.h>
|
|
5
|
|
6 struct winamp_gpp {
|
|
7 int version; // version of the plugin structure
|
|
8 char* description; // name/title of the plugin
|
|
9 int(*init)(); // function which will be executed on init event
|
|
10 void(*conf)(); // function which will be executed on config event
|
|
11 void(*quit)(); // function which will be executed on quit event
|
|
12 HWND hwndParent; // hwnd of the Winamp client main window (stored by Winamp when dll is loaded)
|
|
13 HINSTANCE hDllInstance; // hinstance of this plugin DLL. (stored by Winamp when dll is loaded)
|
|
14 };
|
|
15
|
|
16 extern struct winamp_gpp g_plugin; // plugin.c
|
|
17
|
|
18 void update_rich_presence_details(void);
|
|
19
|
|
20 #endif // __plugin_h
|