diff options
Diffstat (limited to 'plugins/WhoUsesMyFiles/src/stdafx.h')
| -rw-r--r-- | plugins/WhoUsesMyFiles/src/stdafx.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/plugins/WhoUsesMyFiles/src/stdafx.h b/plugins/WhoUsesMyFiles/src/stdafx.h index 4b93df658f..b21584e35a 100644 --- a/plugins/WhoUsesMyFiles/src/stdafx.h +++ b/plugins/WhoUsesMyFiles/src/stdafx.h @@ -6,7 +6,6 @@ #include <locale.h>
#include <shlobj.h>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_options.h>
#include <m_langpack.h>
@@ -20,7 +19,7 @@ #include "resource.h"
#include "version.h"
-#define MODULENAME "WUMF Plugin"
+#define MODULENAME "WUMF Plugin"
#define LIFETIME_MAX 60
#define LIFETIME_MIN 1
@@ -114,8 +113,14 @@ BOOL del_all (PWumf* l); void mark_all (PWumf* l, BOOL mark);
BOOL del_marked(PWumf* l);
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULENAME)
+ {}
+};
+
extern WUMF_OPTIONS WumfOptions;
-extern HINSTANCE hInst;
extern HANDLE hLogger;
static HANDLE hWumfBut;
extern PWumf list;
@@ -124,6 +129,8 @@ void FreeAll(); VOID CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD);
INT_PTR CALLBACK ConnDlgProc(HWND, UINT, WPARAM, LPARAM);
+void LoadOptions();
+
void ShowThePopup(PWumf w, LPTSTR, LPTSTR);
void ShowWumfPopup(PWumf w);
|
