diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
commit | 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch) | |
tree | 2e8bb660c908b54914abd562af8aafa4a486c846 /protocols/FacebookRM/src/entities.h | |
parent | a61c8728b379057fe7f0a0d86fe0b037598229dd (diff) |
less TCHARs:
- TCHAR is replaced with wchar_t everywhere;
- LPGENT replaced with either LPGENW or LPGEN;
- fixes for ANSI plugins that improperly used _t functions;
- TCHAR *t removed from MAllStrings;
- ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz*
git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r-- | protocols/FacebookRM/src/entities.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h index a70757e1c3..43c8f18f86 100644 --- a/protocols/FacebookRM/src/entities.h +++ b/protocols/FacebookRM/src/entities.h @@ -55,7 +55,7 @@ struct facebook_user this->type = CONTACT_NONE; } - TCHAR *getMirVer() + wchar_t *getMirVer() { switch (this->client) { case CLIENT_APP: @@ -87,7 +87,7 @@ struct chatroom_participant struct facebook_chatroom { std::string thread_id; - std::tstring chat_name; + std::wstring chat_name; std::map<std::string, chatroom_participant> participants; bool can_reply; bool is_archived; @@ -219,9 +219,9 @@ struct wall_data this->title = NULL; this->isPage = false; } - wall_data(std::string user_id, TCHAR *title, bool isPage = false) : user_id(user_id), title(title), isPage(isPage) {} + wall_data(std::string user_id, wchar_t *title, bool isPage = false) : user_id(user_id), title(title), isPage(isPage) {} std::string user_id; - TCHAR *title; + wchar_t *title; bool isPage; }; @@ -236,7 +236,7 @@ struct post_status_data { struct open_url { - open_url(TCHAR *browser, TCHAR *url) : browser(browser), url(url) {} - TCHAR *browser; - TCHAR *url; + open_url(wchar_t *browser, wchar_t *url) : browser(browser), url(url) {} + wchar_t *browser; + wchar_t *url; }; |