diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-01 21:37:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-01 21:37:18 +0000 |
commit | 57c87234383026f1f57a3044f0d934fc13ea9d0e (patch) | |
tree | a296589c5e16dff5540923582207007552476f61 /protocols/IRCG/irc.h | |
parent | 5e52c4592330b5971a107da1bafd115fafb38f54 (diff) |
- 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
Diffstat (limited to 'protocols/IRCG/irc.h')
-rw-r--r-- | protocols/IRCG/irc.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/protocols/IRCG/irc.h b/protocols/IRCG/irc.h index deecec316f..1d69f1cd85 100644 --- a/protocols/IRCG/irc.h +++ b/protocols/IRCG/irc.h @@ -115,64 +115,6 @@ public: }
};
-struct _A2T
-{
- _A2T( const char* s ) :
- buf( mir_a2t( s ))
- {}
-
- _A2T( const char* s, int cp ) :
- buf( mir_a2t_cp( s, cp ))
- {}
-
- _A2T( const String& s ) :
- buf( mir_a2t( s ))
- {}
-
- ~_A2T()
- { mir_free(buf);
- }
-
- __inline operator TCHAR*() const
- { return buf;
- }
-
- __inline operator CMString() const
- { return CMString(buf);
- }
-
- TCHAR* buf;
-};
-
-struct _T2A
-{
- _T2A( const TCHAR* s ) :
- buf( mir_t2a(s) )
- {}
-
- _T2A( const TCHAR* s, int cp ) :
- buf( mir_t2a_cp( s, cp ))
- {}
-
- _T2A( const CMString& s ) :
- buf( mir_t2a( s ))
- {}
-
- ~_T2A()
- { mir_free(buf);
- }
-
- __inline operator char*() const
- { return buf;
- }
-
- __inline operator String() const
- { return String(buf);
- }
-
- char* buf;
-};
-
// special service for tweaking performance, implemented in chat.dll
#define MS_GC_GETEVENTPTR "GChat/GetNewEventPtr"
typedef int (*GETEVENTFUNC)(WPARAM wParam, LPARAM lParam);
|