summaryrefslogtreecommitdiff
path: root/protocols/Skype
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-10-26 10:00:38 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-10-26 10:00:38 +0000
commit5940fca1e79e3e2a53abfcc9805bfc631fa281da (patch)
treeced254ce6fb950af7abcf81c58fd72d3bb06863f /protocols/Skype
parent227fb2b649b95241de380b37bbc25f087acc5729 (diff)
added userinfo support (not implemented yet)
git-svn-id: http://svn.miranda-ng.org/main/trunk@2083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype')
-rw-r--r--protocols/Skype/src/skype.h2
-rw-r--r--protocols/Skype/src/skype_dialogs.cpp5
-rw-r--r--protocols/Skype/src/skype_events.cpp2
-rw-r--r--protocols/Skype/src/skype_proto.h1
4 files changed, 8 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype.h b/protocols/Skype/src/skype.h
index 7422e19a1b..b38d28d98a 100644
--- a/protocols/Skype/src/skype.h
+++ b/protocols/Skype/src/skype.h
@@ -32,7 +32,7 @@
#include <m_skin.h>
//#include <statusmodes.h>
//#include <m_system.h>
-//#include <m_userinfo.h>
+#include <m_userinfo.h>
//#include <m_addcontact.h>
#include <m_icolib.h>
#include <m_utils.h>
diff --git a/protocols/Skype/src/skype_dialogs.cpp b/protocols/Skype/src/skype_dialogs.cpp
index 1ed5aaee5c..600007d25f 100644
--- a/protocols/Skype/src/skype_dialogs.cpp
+++ b/protocols/Skype/src/skype_dialogs.cpp
@@ -232,3 +232,8 @@ int __cdecl CSkypeProto::OnOptionsInit(WPARAM wParam, LPARAM lParam)
return 0;
}
+
+int __cdecl CSkypeProto::OnUserInfoInit(WPARAM wParam, LPARAM lParam)
+{
+ return 0;
+} \ No newline at end of file
diff --git a/protocols/Skype/src/skype_events.cpp b/protocols/Skype/src/skype_events.cpp
index aa08a532e7..fdcf1fdedc 100644
--- a/protocols/Skype/src/skype_events.cpp
+++ b/protocols/Skype/src/skype_events.cpp
@@ -3,7 +3,7 @@
int CSkypeProto::OnModulesLoaded(WPARAM, LPARAM)
{
this->HookEvent(ME_OPT_INITIALISE, &CSkypeProto::OnOptionsInit);
-
+ this->HookEvent(ME_USERINFO_INITIALISE, &CSkypeProto::OnUserInfoInit);
this->login = this->GetSettingString(SKYPE_SETTINGS_LOGIN);
this->rememberPassword = this->GetSettingByte("RememberPassword");
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index 71ee2313ff..064e6f3d93 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -87,6 +87,7 @@ public:
int __cdecl OnPreShutdown(WPARAM, LPARAM);
int __cdecl OnContactDeleted(WPARAM, LPARAM);
int __cdecl OnOptionsInit(WPARAM, LPARAM);
+ int __cdecl OnUserInfoInit(WPARAM, LPARAM);
int __cdecl OnAccountManagerInit(WPARAM wParam, LPARAM lParam);
// instances