summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAMN/src/stdafx.h')
-rw-r--r--plugins/YAMN/src/stdafx.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/plugins/YAMN/src/stdafx.h b/plugins/YAMN/src/stdafx.h
index 55af23dff3..eb842b2efa 100644
--- a/plugins/YAMN/src/stdafx.h
+++ b/plugins/YAMN/src/stdafx.h
@@ -43,8 +43,17 @@
#include "proto/pop3/pop3comm.h"
#include "proto/pop3/pop3opt.h"
-
-//From services.cpp
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(YAMN_DBMODULE)
+ {
+ RegisterProtocol(PROTOTYPE_VIRTUAL);
+ SetUniqueId("Id");
+ }
+};
+
+// From services.cpp
void CreateServiceFunctions(void);
void HookEvents(void);
void RefreshContact(void);