summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-05-05 17:30:30 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-05-05 17:30:30 +0000
commitb39fed5ae59f261d614fc0a69ebec0c590fcbba2 (patch)
treeb25cb5e23c4bed8a0f466f9aaaa1b3d628eafed3 /protocols/SkypeWeb/src/skype_proto.cpp
parent9d901160ae14fe289171a24f30e31354e24b63ce (diff)
SkypeWeb:
Writing calls to db rework. Attempt change the icon events (it not work). git-svn-id: http://svn.miranda-ng.org/main/trunk@13446 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index df6a7daf09..ec56bc71f7 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -61,18 +61,7 @@ PROTO<CSkypeProto>(protoName, userName), password(NULL)
db_set_resident(m_szModuleName, "Trouter_sig");
db_set_resident(m_szModuleName, "Trouter_SessId");
- // custom event
- DBEVENTTYPEDESCR dbEventType = { sizeof(dbEventType) };
- dbEventType.module = m_szModuleName;
- dbEventType.flags = DETF_HISTORY | DETF_MSGWINDOW;
- dbEventType.eventType = SKYPE_DB_EVENT_TYPE_ACTION;
- dbEventType.descr = Translate("Action");
- CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType);
-
- dbEventType.eventType = SKYPE_DB_EVENT_TYPE_INCOMING_CALL;
- dbEventType.descr = Translate("Incoming call");
- dbEventType.eventIcon = GetIconHandle("inc_call");
- CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType);
+ InitDBEvents();
//hooks
m_hCallHook = CreateHookableEvent(MODULE"/IncomingCall");