diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-07 12:03:40 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-07 12:03:40 +0000 |
commit | 67d3752f3e59e7f5af163f3521f2c2011392d1f9 (patch) | |
tree | c164096e73a9a639c42067408ece61f73658bcde /src/mir_core/modules.cpp | |
parent | 7ebf1a9591590e96b8660826175d2d86be12a56a (diff) |
- JSONROOT added to handle json parser more conveniently;
- TCHAR* is returned everywhere instead of char*;
git-svn-id: http://svn.miranda-ng.org/main/trunk@6393 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core/modules.cpp')
-rw-r--r-- | src/mir_core/modules.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mir_core/modules.cpp b/src/mir_core/modules.cpp index bbbdfc2f61..2ea78d5e34 100644 --- a/src/mir_core/modules.cpp +++ b/src/mir_core/modules.cpp @@ -290,7 +290,7 @@ extern "C" MIR_CORE_DLL(int) GetSubscribersCount(THook* pHook) return pHook->subscriberCount;
}
-static HANDLE HookEventInt(int type, const char* name, MIRANDAHOOK hookProc, void* object, LPARAM lParam)
+static HANDLE HookEventInt(int type, const char *name, MIRANDAHOOK hookProc, void* object, LPARAM lParam)
{
mir_cslock lck(csHooks);
@@ -310,27 +310,27 @@ static HANDLE HookEventInt(int type, const char* name, MIRANDAHOOK hookProc, voi return (HANDLE)((p->id << 16) | p->subscriberCount);
}
-MIR_CORE_DLL(HANDLE) HookEvent(const char* name, MIRANDAHOOK hookProc)
+MIR_CORE_DLL(HANDLE) HookEvent(const char *name, MIRANDAHOOK hookProc)
{
return HookEventInt(1, name, hookProc, 0, 0);
}
-MIR_CORE_DLL(HANDLE) HookEventParam(const char* name, MIRANDAHOOKPARAM hookProc, LPARAM lParam)
+MIR_CORE_DLL(HANDLE) HookEventParam(const char *name, MIRANDAHOOKPARAM hookProc, LPARAM lParam)
{
return HookEventInt(2, name, (MIRANDAHOOK)hookProc, 0, lParam);
}
-MIR_CORE_DLL(HANDLE) HookEventObj(const char* name, MIRANDAHOOKOBJ hookProc, void* object)
+MIR_CORE_DLL(HANDLE) HookEventObj(const char *name, MIRANDAHOOKOBJ hookProc, void* object)
{
return HookEventInt(3, name, (MIRANDAHOOK)hookProc, object, 0);
}
-MIR_CORE_DLL(HANDLE) HookEventObjParam(const char* name, MIRANDAHOOKOBJPARAM hookProc, void* object, LPARAM lParam)
+MIR_CORE_DLL(HANDLE) HookEventObjParam(const char *name, MIRANDAHOOKOBJPARAM hookProc, void* object, LPARAM lParam)
{
return HookEventInt(4, name, (MIRANDAHOOK)hookProc, object, lParam);
}
-MIR_CORE_DLL(HANDLE) HookEventMessage(const char* name, HWND hwnd, UINT message)
+MIR_CORE_DLL(HANDLE) HookEventMessage(const char *name, HWND hwnd, UINT message)
{
mir_cslock lck(csHooks);
|