diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-17 17:09:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-17 17:09:50 +0300 |
commit | bce8bc74daf1c5f510404c8bdf956b41fb1c10fc (patch) | |
tree | 9879ad5ce5f42087558601af6a6f2827d7df4c39 /plugins/Watrack_MPD/src/stdafx.h | |
parent | ba1083b4da33ca44a5ae7d90eabbe3d6d340a81e (diff) |
WinterSpeak, WhoUsesMyFiles, WhenWasIt, wbOSD, Watrack_MPD -> CMPlugin
Diffstat (limited to 'plugins/Watrack_MPD/src/stdafx.h')
-rwxr-xr-x | plugins/Watrack_MPD/src/stdafx.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/Watrack_MPD/src/stdafx.h b/plugins/Watrack_MPD/src/stdafx.h index 2b17d1d703..161ccb2209 100755 --- a/plugins/Watrack_MPD/src/stdafx.h +++ b/plugins/Watrack_MPD/src/stdafx.h @@ -18,7 +18,6 @@ #include <windows.h>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_database.h>
#include <m_netlib.h>
@@ -35,12 +34,17 @@ #define szModuleName "Watrack_MPD"
-extern HINSTANCE hInst;
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(szModuleName)
+ {}
+};
+
extern HNETLIBUSER ghNetlibUser;
extern BOOL bWatrackService;
extern wchar_t *gbHost, *gbPassword;
extern WORD gbPort;
-extern char *date();
extern int WaMpdOptInit(WPARAM, LPARAM);
extern void RegisterPlayer();
|