diff options
Diffstat (limited to 'plugins/Db_autobackups/src/stdafx.h')
-rw-r--r-- | plugins/Db_autobackups/src/stdafx.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/Db_autobackups/src/stdafx.h b/plugins/Db_autobackups/src/stdafx.h index 6ad8c6628b..5152963200 100644 --- a/plugins/Db_autobackups/src/stdafx.h +++ b/plugins/Db_autobackups/src/stdafx.h @@ -12,8 +12,6 @@ namespace fs = std::experimental::filesystem;
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_clist.h>
#include <m_database.h>
@@ -29,6 +27,13 @@ namespace fs = std::experimental::filesystem; #define MODULE "AutoBackups"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE)
+ {}
+};
+
#include "options.h"
#include "resource.h"
#include "version.h"
@@ -52,7 +57,6 @@ struct ZipFile int CreateZipFile(const char *szDestPath, OBJLIST<ZipFile> &lstFiles, const std::function<bool(size_t)> &fnCallback);
-extern HINSTANCE g_hInstance;
extern char g_szMirVer[];
static IconItem iconList[] = {
|