summaryrefslogtreecommitdiff
path: root/src/core/stduseronline/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stduseronline/src/stdafx.h')
-rw-r--r--src/core/stduseronline/src/stdafx.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core/stduseronline/src/stdafx.h b/src/core/stduseronline/src/stdafx.h
index c29da6dc6f..9fae72e8ed 100644
--- a/src/core/stduseronline/src/stdafx.h
+++ b/src/core/stduseronline/src/stdafx.h
@@ -40,9 +40,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <direct.h>
#include <malloc.h>
-#define __NO_CMPLUGIN_NEEDED
#include <win2k.h>
-
#include <m_system.h>
#include <newpluginapi.h>
#include <m_database.h>
@@ -66,4 +64,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "../../mir_app/src/resource.h"
-extern HINSTANCE hInst;
+#define MODULENAME "UserOnline"
+
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULENAME)
+ {}
+};