summaryrefslogtreecommitdiff
path: root/plugins/Folders/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Folders/src/stdafx.h')
-rw-r--r--plugins/Folders/src/stdafx.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/plugins/Folders/src/stdafx.h b/plugins/Folders/src/stdafx.h
index 17b917a9f7..e78ab16a32 100644
--- a/plugins/Folders/src/stdafx.h
+++ b/plugins/Folders/src/stdafx.h
@@ -30,8 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <string.h>
#include <malloc.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_database.h>
#include <m_system.h>
@@ -56,8 +54,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define MS_FOLDERS_TEST_PLUGIN "Folders/Test/Plugin"
-extern char ModuleName[];
-extern HINSTANCE hInstance;
+#define ModuleName "Folders"
+
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(ModuleName)
+ {}
+};
+
extern OBJLIST<CFolderItem> lstRegisteredFolders;
#endif //FOLDERS_COMMONHEADERS_H \ No newline at end of file