summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-10 12:52:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-10 12:52:34 +0000
commit4f8ae924e26821de7d7ec033ac99056008aac10f (patch)
tree607c201e81b0ba8010e81ba89374cdf9215b36e8 /protocols
parent808419ba4249c4cfb2c4bb5891a599543ca9f25a (diff)
PS_GETUNREADEMAILCOUNT - the unified macro for "/GetUnreadEmailCount"
git-svn-id: http://svn.miranda-ng.org/main/trunk@6425 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/AimOscar/src/services.cpp3
-rw-r--r--protocols/MSN/src/msn_global.h2
-rw-r--r--protocols/MSN/src/msn_proto.cpp2
-rw-r--r--protocols/Yahoo/src/services.cpp2
-rw-r--r--protocols/Yahoo/src/yahoo.h17
5 files changed, 11 insertions, 15 deletions
diff --git a/protocols/AimOscar/src/services.cpp b/protocols/AimOscar/src/services.cpp
index 721751016c..eeac20232e 100644
--- a/protocols/AimOscar/src/services.cpp
+++ b/protocols/AimOscar/src/services.cpp
@@ -404,8 +404,7 @@ INT_PTR CAimProto::GetAvatarCaps(WPARAM wParam, LPARAM lParam)
{
int res = 0;
- switch (wParam)
- {
+ switch (wParam) {
case AF_MAXSIZE:
((POINT*)lParam)->x = 100;
((POINT*)lParam)->y = 100;
diff --git a/protocols/MSN/src/msn_global.h b/protocols/MSN/src/msn_global.h
index a02a54645a..1011df19f1 100644
--- a/protocols/MSN/src/msn_global.h
+++ b/protocols/MSN/src/msn_global.h
@@ -139,8 +139,6 @@ const char MSN_USER_AGENT[] = "Mozilla/4.0 (compatible; MSIE 8.0; Wind
#define MS_EDIT_ALERTS "/EditAlerts"
#define MS_SET_NICKNAME_UI "/SetNicknameUI"
-#define MSN_GETUNREAD_EMAILCOUNT "/GetUnreadEmailCount"
-
extern const char sttVoidUid[];
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp
index 6648e538c5..8312a02c9b 100644
--- a/protocols/MSN/src/msn_proto.cpp
+++ b/protocols/MSN/src/msn_proto.cpp
@@ -70,7 +70,7 @@ CMsnProto::CMsnProto(const char* aProtoName, const TCHAR* aUserName) :
CreateProtoService(PS_SETMYNICKNAME, &CMsnProto::SetNickName);
CreateProtoService(PS_SEND_NUDGE, &CMsnProto::SendNudge);
- CreateProtoService(MSN_GETUNREAD_EMAILCOUNT, &CMsnProto::GetUnreadEmailCount);
+ CreateProtoService(PS_GETUNREADEMAILCOUNT, &CMsnProto::GetUnreadEmailCount);
// event hooks
HookProtoEvent(ME_MSG_WINDOWPOPUP, &CMsnProto::OnWindowPopup);
diff --git a/protocols/Yahoo/src/services.cpp b/protocols/Yahoo/src/services.cpp
index 2f88106ea1..7cd7556918 100644
--- a/protocols/Yahoo/src/services.cpp
+++ b/protocols/Yahoo/src/services.cpp
@@ -530,7 +530,7 @@ void CYahooProto::LoadYahooServices( void )
CreateProtoService(PS_GETMYAWAYMSG, &CYahooProto::GetMyAwayMsg);
CreateProtoService(PS_SEND_NUDGE, &CYahooProto::SendNudge);
- CreateProtoService(YAHOO_GETUNREAD_EMAILCOUNT, &CYahooProto::GetUnreadEmailCount);
+ CreateProtoService(PS_GETUNREADEMAILCOUNT, &CYahooProto::GetUnreadEmailCount);
//----| Set resident variables |------------------------------------------------------
diff --git a/protocols/Yahoo/src/yahoo.h b/protocols/Yahoo/src/yahoo.h
index ac60c1cc1c..de2e1fbfbf 100644
--- a/protocols/Yahoo/src/yahoo.h
+++ b/protocols/Yahoo/src/yahoo.h
@@ -76,15 +76,14 @@ extern int do_yahoo_debug;
YAHOO_DEBUGLOG x; \
YAHOO_DEBUGLOG(" ");}
-#define YAHOO_SET_CUST_STAT "/SetCustomStatCommand"
-#define YAHOO_EDIT_MY_PROFILE "/YahooEditMyProfileCommand"
-#define YAHOO_SHOW_PROFILE "/YahooShowProfileCommand"
-#define YAHOO_SHOW_MY_PROFILE "/YahooShowMyProfileCommand"
-#define YAHOO_YAHOO_MAIL "/YahooGotoMailboxCommand"
-#define YAHOO_REFRESH "/YahooRefreshCommand"
-#define YAHOO_AB "/YahooAddressBook"
-#define YAHOO_CALENDAR "/YahooCalendar"
-#define YAHOO_GETUNREAD_EMAILCOUNT "/GetUnreadEmailCount"
+#define YAHOO_SET_CUST_STAT "/SetCustomStatCommand"
+#define YAHOO_EDIT_MY_PROFILE "/YahooEditMyProfileCommand"
+#define YAHOO_SHOW_PROFILE "/YahooShowProfileCommand"
+#define YAHOO_SHOW_MY_PROFILE "/YahooShowMyProfileCommand"
+#define YAHOO_YAHOO_MAIL "/YahooGotoMailboxCommand"
+#define YAHOO_REFRESH "/YahooRefreshCommand"
+#define YAHOO_AB "/YahooAddressBook"
+#define YAHOO_CALENDAR "/YahooCalendar"
#define STYLE_DEFAULTBGCOLOUR RGB(173,206,247)