From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: 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 --- protocols/Omegle/src/proto.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/Omegle/src/proto.h') diff --git a/protocols/Omegle/src/proto.h b/protocols/Omegle/src/proto.h index 522f060991..5b0362b240 100644 --- a/protocols/Omegle/src/proto.h +++ b/protocols/Omegle/src/proto.h @@ -25,7 +25,7 @@ along with this program. If not, see . class OmegleProto : public PROTO < OmegleProto > { public: - OmegleProto(const char *proto_name, const TCHAR *username); + OmegleProto(const char *proto_name, const wchar_t *username); ~OmegleProto(); inline const char* ModuleName() const @@ -88,14 +88,14 @@ public: //bool IsMyContact(HANDLE, bool include_chat = false); // Chat handling - void AddChat(const TCHAR *id, const TCHAR *name); - void UpdateChat(const TCHAR *name, const TCHAR *message, bool addtochat = true); + void AddChat(const wchar_t *id, const wchar_t *name); + void UpdateChat(const wchar_t *name, const wchar_t *message, bool addtochat = true); void SendChatMessage(std::string message); - void AddChatContact(const TCHAR *nick); - void DeleteChatContact(const TCHAR *name); + void AddChatContact(const wchar_t *nick); + void DeleteChatContact(const wchar_t *name); void SetChatStatus(int); void ClearChat(); - void SetTopic(const TCHAR *topic = NULL); + void SetTopic(const wchar_t *topic = NULL); MCONTACT GetChatHandle(); // Connection client -- cgit v1.2.3