summaryrefslogtreecommitdiff
path: root/plugins/ContactsPlus/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ContactsPlus/src/stdafx.h')
-rw-r--r--plugins/ContactsPlus/src/stdafx.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/ContactsPlus/src/stdafx.h b/plugins/ContactsPlus/src/stdafx.h
index 1a8207f470..5fce404385 100644
--- a/plugins/ContactsPlus/src/stdafx.h
+++ b/plugins/ContactsPlus/src/stdafx.h
@@ -29,8 +29,6 @@
#include <malloc.h>
#include <time.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include "newpluginapi.h"
#include "m_protosvc.h"
#include "m_database.h"
@@ -54,5 +52,12 @@
#define MODULENAME "SendReceiveContacts"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULENAME)
+ {}
+};
+
#define MS_CONTACTS_SEND "ContactsTransfer/SendContacts"
#define MS_CONTACTS_RECEIVE "ContactsTransfer/ReceiveContacts"