From 57c87234383026f1f57a3044f0d934fc13ea9d0e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 1 Jun 2012 21:37:18 +0000 Subject: - RecentContacts added; - _A2T & _T2A classes moved to m_utils.h git-svn-id: http://svn.miranda-ng.org/main/trunk@255 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/jabber.h | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'protocols/JabberG') diff --git a/protocols/JabberG/jabber.h b/protocols/JabberG/jabber.h index d990982d90..fd4e8a77b1 100644 --- a/protocols/JabberG/jabber.h +++ b/protocols/JabberG/jabber.h @@ -494,33 +494,6 @@ struct JABBER_MUC_JIDLIST_INFO typedef void ( CJabberProto::*JABBER_FORM_SUBMIT_FUNC )( HXML values, void *userdata ); -class _A2T -{ - TCHAR* buf; - -public: - __forceinline _A2T( const char* s ) : buf( mir_a2t( s )) {} - __forceinline _A2T( const char* s, int cp ) : buf( mir_a2t_cp( s, cp )) {} - ~_A2T() { mir_free(buf); } - - __forceinline operator TCHAR*() const - { return buf; - } -}; - -class _T2A -{ - char* buf; - -public: - __forceinline _T2A( const TCHAR* s ) : buf( mir_t2a( s )) {} - __forceinline ~_T2A() { mir_free(buf); } - - __forceinline operator char*() const - { return buf; - } -}; - //---- jabber_treelist.c ------------------------------------------------ typedef struct TTreeList_ItemInfo *HTREELISTITEM; -- cgit v1.2.3