diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-05-30 15:09:12 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-05-30 15:09:12 +0000 |
commit | 14490bf9af08e43e3bce597ecdd28f76742cb5f7 (patch) | |
tree | ad3593e90a55b0cce4f469ad07e4f3d4f1050209 | |
parent | 3223aa4fece347a5f6014c529af3fe3ff4acf1a6 (diff) |
added popup when somebody calling you
git-svn-id: http://svn.miranda-ng.org/main/trunk@4843 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/Skype/src/skype_messages.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_messages.cpp b/protocols/Skype/src/skype_messages.cpp index ce8917d1db..d5fda0cde2 100644 --- a/protocols/Skype/src/skype_messages.cpp +++ b/protocols/Skype/src/skype_messages.cpp @@ -165,6 +165,10 @@ void CSkypeProto::OnMessageEvent(const ConversationRef &conversation, const Mess DBEF_UTF,
(DWORD)::strlen(message) + 1,
(PBYTE)message);
+ //temp popup
+ TCHAR popuptext[MAX_PATH];
+ mir_sntprintf(popuptext, SIZEOF(popuptext), TranslateT("Incoming call from %s. Use offical skype for calling."), mir_ptr<wchar_t>(::mir_utf8decodeW(identity)));
+ this->ShowNotification(popuptext);
}
break;
|