diff options
author | René Schümann <white06tiger@gmail.com> | 2014-12-25 00:30:09 +0000 |
---|---|---|
committer | René Schümann <white06tiger@gmail.com> | 2014-12-25 00:30:09 +0000 |
commit | f1854df3ba57b0358c893884d56d6826e25f344d (patch) | |
tree | c78083d6fc677729fc86f895ab4695c899ed86e3 /plugins/SendScreenshotPlus/src/global.h | |
parent | e5c1ba56b7f6ef24279b5e7cda3759b2e68e4c8d (diff) |
SendSS:
* global.h is now more global
removed Main.h dependency
removed MODNAME define (just a dupe of SZ_SENDSS)
hInst -> g_hSendSS
myGlobals -> g_myGlobals
hNetlibUser -> g_hNetlibUser
* restructured Main.cpp by reordering functions to be more logically placed
* Main.h now only holds DLL_EXPORT functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@11608 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/global.h')
-rw-r--r-- | plugins/SendScreenshotPlus/src/global.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/SendScreenshotPlus/src/global.h b/plugins/SendScreenshotPlus/src/global.h index 9c822d3f98..c0d6c2d965 100644 --- a/plugins/SendScreenshotPlus/src/global.h +++ b/plugins/SendScreenshotPlus/src/global.h @@ -83,7 +83,6 @@ using namespace std; #include "dlg_msgbox.h" #include "resource.h" #include "version.h" -#include "main.h" #include "CSend.h" #include "CSendEmail.h" #include "CSendFile.h" @@ -120,11 +119,11 @@ typedef struct _MGLOBAL { // Miranda Database Key #define SZ_SENDSS "SendSS" -#define MODNAME "SendSS" -extern HINSTANCE hInst; -extern MGLOBAL myGlobals; -extern HANDLE hNetlibUser; +extern ATOM g_clsTargetHighlighter; +extern HINSTANCE g_hSendSS; +extern MGLOBAL g_myGlobals; +extern HANDLE g_hNetlibUser; #define PtrIsValid(p) (((p)!=0)&&(((HANDLE)(p))!=INVALID_HANDLE_VALUE)) #define MIR_FREE(p) {if (PtrIsValid(p)){mir_free((void*)p);(p)=NULL;}} |