diff options
author | Eion Robb <eion@robbmob.com> | 2010-08-05 00:36:19 +0400 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2010-08-05 00:36:19 +0400 |
commit | be098d709c715150b43850f1a54993b7d83c76b7 (patch) | |
tree | cf58ed2b0978bed5296d15edd8363fd0cddf73a8 /skype_messaging_win32.c | |
parent | 8dfec478d16295bccdb38751fd7c2c1d8701d1f4 (diff) |
Add in code to handle running multiple copies of Skype on win32 if one copy is set to block Pidgin
Diffstat (limited to 'skype_messaging_win32.c')
-rw-r--r-- | skype_messaging_win32.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/skype_messaging_win32.c b/skype_messaging_win32.c index 2a7e1dc..1e873d8 100644 --- a/skype_messaging_win32.c +++ b/skype_messaging_win32.c @@ -166,10 +166,13 @@ Skype_WindowProc(HWND hWindow, UINT uiMessage, WPARAM uiParam, LPARAM ulParam) g_thread_create((GThreadFunc)skype_message_received, (void *)g_strdup(poCopyData->lpData), FALSE, NULL); return 1; } else if (uiMessage == uiGlobal_MsgID_SkypeControlAPIAttach) { - hGlobal_SkypeAPIWindowHandle = (HWND)uiParam; skype_debug_info("skype_win32", "Attached process %d %d\n", uiParam, ulParam); if (ulParam == 0) + { skype_debug_info("skype_win32", "Attach success\n"); + hGlobal_SkypeAPIWindowHandle = (HWND)uiParam; + //TODO send a message asking what the skype username is, to work with multiple skypes + } else if (ulParam == 1) skype_debug_info("skype_win32", "Pending auth\n"); else if (ulParam == 2) |