diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-11 22:27:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-11 22:27:34 +0300 |
commit | 9834746e6a7e5cf04a32273155265bc3a2f57180 (patch) | |
tree | 66366fe9d2f74b09cc70bed366ad7d6c542c94ad /protocols/Twitter | |
parent | 9a774c4e9e76e660c14a5f725252bbc275b13906 (diff) |
old good sound services became finally functions
Diffstat (limited to 'protocols/Twitter')
-rw-r--r-- | protocols/Twitter/src/connection.cpp | 2 | ||||
-rw-r--r-- | protocols/Twitter/src/contacts.cpp | 2 | ||||
-rw-r--r-- | protocols/Twitter/src/theme.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Twitter/src/connection.cpp b/protocols/Twitter/src/connection.cpp index 21c7ce6cb9..3e399e6e5e 100644 --- a/protocols/Twitter/src/connection.cpp +++ b/protocols/Twitter/src/connection.cpp @@ -589,7 +589,7 @@ void TwitterProto::UpdateStatuses(bool pre_read, bool popups, bool tweetToMsg) if (!pre_read && popups) {
std::stringstream url;
url << std::string("https://twitter.com/") << i->username << std::string("/status/") << i->status.id;
- SkinPlaySound("TwitterNew");
+ Skin_PlaySound("TwitterNew");
ShowContactPopup(hContact, i->status.text, new std::string(url.str()));
}
}
diff --git a/protocols/Twitter/src/contacts.cpp b/protocols/Twitter/src/contacts.cpp index c0bcddb4f5..9c9f6f4d50 100644 --- a/protocols/Twitter/src/contacts.cpp +++ b/protocols/Twitter/src/contacts.cpp @@ -249,7 +249,7 @@ MCONTACT TwitterProto::AddToClientList(const char *name, const char *status) std::string url = profile_base_url("https://twitter.com/") + http::url_encode(name);
setString(hContact, "Homepage", url.c_str());
- SkinPlaySound("TwitterNewContact");
+ Skin_PlaySound("TwitterNewContact");
DBVARIANT dbv;
if (!getWString(TWITTER_KEY_GROUP, &dbv)) {
db_set_ws(hContact, "CList", "Group", dbv.ptszVal);
diff --git a/protocols/Twitter/src/theme.cpp b/protocols/Twitter/src/theme.cpp index 1040df4819..a32b8e6e46 100644 --- a/protocols/Twitter/src/theme.cpp +++ b/protocols/Twitter/src/theme.cpp @@ -33,8 +33,8 @@ static IconItem icons[] = void TwitterInitSounds(void)
{
- SkinAddNewSoundEx("TwitterNewContact", LPGEN("Twitter"), LPGEN("First tweet from new contact"));
- SkinAddNewSoundEx("TwitterNew", LPGEN("Twitter"), LPGEN("New tweet"));
+ Skin_AddSound("TwitterNewContact", LPGENW("Twitter"), LPGENW("First tweet from new contact"));
+ Skin_AddSound("TwitterNew", LPGENW("Twitter"), LPGENW("New tweet"));
}
// TODO: uninit
|