From 756ce057cf3aecb1220daebadb3f728f51ef5b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Thu, 1 Sep 2016 21:44:45 +0000 Subject: Facebook: Rework event notify type from defines and flags to enum git-svn-id: http://svn.miranda-ng.org/main/trunk@17240 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/communication.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/FacebookRM/src/communication.cpp') diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index f4fd7cf13d..a7002d41e1 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -24,7 +24,7 @@ along with this program. If not, see . void facebook_client::client_notify(wchar_t* message) { - parent->NotifyEvent(parent->m_tszUserName, message, NULL, FACEBOOK_EVENT_CLIENT); + parent->NotifyEvent(parent->m_tszUserName, message, NULL, EVENT_CLIENT); } http::response facebook_client::flap(RequestType request_type, std::string *post_data, std::string *get_data) @@ -1645,7 +1645,7 @@ bool facebook_client::post_status(status_data *status) } if (resp.isValid()) { - parent->NotifyEvent(parent->m_tszUserName, TranslateT("Status update was successful."), NULL, FACEBOOK_EVENT_OTHER); + parent->NotifyEvent(parent->m_tszUserName, TranslateT("Status update was successful."), NULL, EVENT_OTHER); return handle_success("post_status"); } @@ -1716,6 +1716,6 @@ bool facebook_client::sms_code(const char *fb_dtsg) return false; } - parent->NotifyEvent(parent->m_tszUserName, TranslateT("Verification SMS code was sent to your mobile phone."), NULL, FACEBOOK_EVENT_OTHER); + parent->NotifyEvent(parent->m_tszUserName, TranslateT("Verification SMS code was sent to your mobile phone."), NULL, EVENT_OTHER); return true; } \ No newline at end of file -- cgit v1.2.3