diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-05-06 15:11:20 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-05-06 15:11:20 +0000 |
commit | 14eec47b6101e1f96437f7bb1057ee04a3cc4f63 (patch) | |
tree | bf3d11b8902307da42674c38194fce35e8032958 /protocols/Skype/src/skype_proto.h | |
parent | c7a87b51ee671f7c5a1bbdd80e001a863f9e7215 (diff) |
- partly fixed chat reaction on incoming call
git-svn-id: http://svn.miranda-ng.org/main/trunk@4591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r-- | protocols/Skype/src/skype_proto.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index d0326c03a8..8a610b3da0 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -371,7 +371,7 @@ protected: void CreateServiceObjParam(const char* szService, SkypeServiceFunc serviceProc, LPARAM lParam);
HANDLE CreateEvent(const char* szService);
- HANDLE HookEvent(const char*, SkypeEventFunc);
+
int SendBroadcast(int type, int result, HANDLE hProcess, LPARAM lParam);
int SendBroadcast(HANDLE hContact, int type, int result, HANDLE hProcess, LPARAM lParam);
@@ -399,6 +399,9 @@ protected: static LIST<void> hookList;
LIST<void> instanceHookList;
+
+ HANDLE HookEvent(const char*, SkypeEventFunc);
+
void InitInstanceHookList();
void UninitInstanceHookList();
@@ -408,13 +411,15 @@ protected: // menu
HGENMENU m_hMenuRoot;
static HANDLE hChooserMenu;
- static HANDLE hPrebuildMenuHook;
- static HANDLE g_hContactMenuItems[CMITEMS_COUNT];
- static HANDLE g_hContactMenuSvc[CMITEMS_COUNT];
+ static HANDLE contactMenuItems[CMI_TEMS_COUNT];
+ static HANDLE contactMenuServices[CMI_TEMS_COUNT];
+
+ static void EnableMenuItem(HANDLE hMenuItem, BOOL bEnable);
+
static INT_PTR MenuChooseService(WPARAM wParam, LPARAM lParam);
+
int OnPrebuildContactMenu(WPARAM wParam, LPARAM);
-
// database
bool IsMessageInDB(HANDLE hContact, DWORD timestamp, const char* guid, int flag = 0);
|