summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_events.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-09-27 08:54:13 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-09-27 08:54:13 +0000
commitff29f186b04d8bbddef31411e1d6dee4b48474ab (patch)
treea41aec1e42fd819ca4898528c26526a931cceff5 /protocols/Skype/src/skype_events.cpp
parent4a57667c0372692f38be7457a1d11346af5e17c1 (diff)
added few code
git-svn-id: http://svn.miranda-ng.org/main/trunk@1678 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_events.cpp')
-rw-r--r--protocols/Skype/src/skype_events.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_events.cpp b/protocols/Skype/src/skype_events.cpp
index 159b64a666..65d33fa4c4 100644
--- a/protocols/Skype/src/skype_events.cpp
+++ b/protocols/Skype/src/skype_events.cpp
@@ -1 +1,18 @@
#include "skype_proto.h"
+
+void IconsLoad();
+
+int CSkypeProto::OnModulesLoaded(WPARAM, LPARAM)
+{
+ IconsLoad();
+ HookEvent(ME_OPT_INITIALISE, &CSkypeProto::OnOptionsInit);
+
+ return 0;
+}
+
+int CSkypeProto::OnPreShutdown(WPARAM, LPARAM)
+{
+ SetStatus(ID_STATUS_OFFLINE);
+
+ return 0;
+}