summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/SkypeWeb/res/Icons/call.icobin0 -> 5430 bytes
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp2
-rw-r--r--protocols/SkypeWeb/src/skype_trouter.cpp3
3 files changed, 5 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/res/Icons/call.ico b/protocols/SkypeWeb/res/Icons/call.ico
new file mode 100644
index 0000000000..41e984fc6b
--- /dev/null
+++ b/protocols/SkypeWeb/res/Icons/call.ico
Binary files differ
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index 1e2bc97e4b..37ca1c6e2f 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -57,6 +57,8 @@ PROTO<CSkypeProto>(protoName, userName), password(NULL)
dbEventType.descr = Translate("Incoming Call");
dbEventType.eventIcon = GetIconHandle("inc_call");
CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType);
+
+ SkinAddNewSoundEx("skype_inc_call", "SkypeWeb", LPGEN("Incoming call sound"));
}
CSkypeProto::~CSkypeProto()
diff --git a/protocols/SkypeWeb/src/skype_trouter.cpp b/protocols/SkypeWeb/src/skype_trouter.cpp
index 06c09a72c8..039107e0fd 100644
--- a/protocols/SkypeWeb/src/skype_trouter.cpp
+++ b/protocols/SkypeWeb/src/skype_trouter.cpp
@@ -96,7 +96,10 @@ void CSkypeProto::OnTrouterEvent(JSONNODE *body, JSONNODE *headers)
MCONTACT hContact = FindContact(_T2A(uid));
if (hContact != NULL)
+ {
AddCallToDb(hContact, time(NULL), 0);
+ SkinPlaySound("skype_inc_call");
+ }
}
void CSkypeProto::TRouterThread(void*)