summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ex_import/classExImContactBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/ex_import/classExImContactBase.h')
-rw-r--r--plugins/UserInfoEx/src/ex_import/classExImContactBase.h37
1 files changed, 16 insertions, 21 deletions
diff --git a/plugins/UserInfoEx/src/ex_import/classExImContactBase.h b/plugins/UserInfoEx/src/ex_import/classExImContactBase.h
index c9bb3fee24..e248c1d2a7 100644
--- a/plugins/UserInfoEx/src/ex_import/classExImContactBase.h
+++ b/plugins/UserInfoEx/src/ex_import/classExImContactBase.h
@@ -23,34 +23,29 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
HANDLE CListFindGroup(LPCSTR pszGroup);
-class CExImContactBase {
- BYTE compareUID(DBVARIANT *dbv);
+class CExImContactBase
+{
+ BYTE compareUID(DBVARIANT *dbv);
protected:
- LPSTR _pszNick; // utf8 encoded
- LPSTR _pszDisp; // utf8 encoded
- LPSTR _pszGroup; // utf8 encoded
- LPSTR _pszAMPro;
- LPSTR _pszProto;
- LPSTR _pszProtoOld;
- LPSTR _pszUIDKey;
- DWORD _dbvUIDHash;
- DBVARIANT _dbvUID;
- HCONTACT _hContact;
- BYTE _isNewContact; // is this contact a new one?
-
- HANDLE findHandle();
+ LPSTR _pszNick; // utf8 encoded
+ LPSTR _pszDisp; // utf8 encoded
+ LPSTR _pszGroup; // utf8 encoded
+ LPSTR _pszAMPro;
+ LPSTR _pszProto;
+ LPSTR _pszProtoOld;
+ LPSTR _pszUIDKey;
+ DWORD _dbvUIDHash;
+ DBVARIANT _dbvUID;
+ HCONTACT _hContact;
+ BYTE _isNewContact; // is this contact a new one?
+
+ HCONTACT findHandle();
public:
CExImContactBase();
~CExImContactBase();
-// __inline LPCSTR disp() const { return mir_strcmp(_pszDisp,"")? _pszDisp : NULL; }
-// __inline LPCSTR group() const { return mir_strcmp(_pszGroup,"")? _pszGroup : NULL; }
-// __inline LPCSTR nick() const { return mir_strcmp(_pszNick,"")? _pszNick : NULL; }
-// __inline LPCSTR proto() const { return mir_strcmp(_pszProto,"")? _pszProto : NULL; }
-// __inline LPCSTR ampro() const { return mir_strcmp(_pszAMPro,"")? _pszAMPro : NULL; }
-// __inline LPCSTR uidk() const { return mir_strcmp(_pszUIDKey,"")? _pszUIDKey : NULL; }
__inline DBVARIANT& uid() { return _dbvUID; }
__inline HCONTACT handle() const { return _hContact; }