summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/stdafx.h')
-rw-r--r--plugins/Quotes/src/stdafx.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/Quotes/src/stdafx.h b/plugins/Quotes/src/stdafx.h
index abdfcb6ea4..5f9f29486d 100644
--- a/plugins/Quotes/src/stdafx.h
+++ b/plugins/Quotes/src/stdafx.h
@@ -117,4 +117,12 @@ inline tstring quotes_a2t(const char* s)
#include "IXMLEngine.h"
#include "XMLEngineMI.h"
-extern HINSTANCE g_hInstance;
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(QUOTES_PROTOCOL_NAME)
+ {
+ RegisterProtocol(PROTOTYPE_VIRTUAL);
+ SetUniqueId(DB_STR_QUOTE_SYMBOL);
+ }
+};