summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-18 20:51:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-18 20:51:18 +0300
commit9cf1444eb7888f2d942d220f938aa893396a8a1b (patch)
treeea87e4cb78e9c26a651af00b2d423324ce4a85a6 /plugins/CloudFile/src/stdafx.h
parent3936ebbc665c9653d9f62527c1e136944d52e2ca (diff)
g_hInstance incapulated into PLUGIN<>, no need in the separate variable
Diffstat (limited to 'plugins/CloudFile/src/stdafx.h')
-rw-r--r--plugins/CloudFile/src/stdafx.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/stdafx.h b/plugins/CloudFile/src/stdafx.h
index 85ce23b8d7..d475b54c11 100644
--- a/plugins/CloudFile/src/stdafx.h
+++ b/plugins/CloudFile/src/stdafx.h
@@ -41,7 +41,6 @@ class CCloudService;
#include "options.h"
-extern HINSTANCE g_hInstance;
extern HNETLIBUSER hNetlibConnection;
class Exception
@@ -118,4 +117,11 @@ void Report(MCONTACT hContact, const wchar_t *data);
CCloudService* FindService(const char *szProto);
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE)
+ {}
+};
+
#endif //_COMMON_H_ \ No newline at end of file