diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-09 15:00:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-09 15:00:10 +0000 |
commit | ad0169e0110232390474d23274bdc5dc2d385a9a (patch) | |
tree | 244d8c2a7d6d9db8d5fc2562003f4aec3d053c8a /plugins/TabSRMM/src/contactcache.h | |
parent | a23d6936522260197b5b3b13e468c1cddd6d8ed8 (diff) |
- unused variables wiped out of tabSRMM
- enhanced mc support
git-svn-id: http://svn.miranda-ng.org/main/trunk@8503 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.h')
-rw-r--r-- | plugins/TabSRMM/src/contactcache.h | 59 |
1 files changed, 26 insertions, 33 deletions
diff --git a/plugins/TabSRMM/src/contactcache.h b/plugins/TabSRMM/src/contactcache.h index 46212cd706..193acb8ec9 100644 --- a/plugins/TabSRMM/src/contactcache.h +++ b/plugins/TabSRMM/src/contactcache.h @@ -71,40 +71,35 @@ struct CContactCache : public MZeroedObject releaseAlloced();
}
- const bool isValid() const { return(m_Valid); }
- const WORD getStatus() const { return(m_wStatus); }
- const WORD getMetaStatus() const { return(m_wMetaStatus); }
- const WORD getActiveStatus() const { return(m_isMeta ? m_wMetaStatus : m_wStatus); }
- const WORD getOldStatus() const { return(m_wOldStatus); }
- const TCHAR* getNick() const { return(m_szNick); }
- const MCONTACT getContact() const { return(m_hContact); }
- const MCONTACT getActiveContact() const { return(m_isMeta ? (m_hSubContact ? m_hSubContact : m_hContact) : m_hContact); }
- const DWORD getIdleTS() const { return(m_idleTS); }
- const char* getProto() const { return(m_szProto); }
- const TCHAR* getProtoT() const { return(m_tszProto); }
- const char* getMetaProto() const { return(m_szMetaProto ? m_szMetaProto : C_INVALID_PROTO); }
- const TCHAR* getMetaProtoT() const { return(m_szMetaProto ? m_tszMetaProto : C_INVALID_PROTO_T); }
- const char* getActiveProto() const { return(m_isMeta ? (m_szMetaProto ? m_szMetaProto : m_szProto) : m_szProto); }
- const TCHAR* getActiveProtoT() const { return(m_isMeta ? (m_szMetaProto ? m_tszMetaProto : m_tszProto) : m_tszProto); }
- bool isMeta() const { return(m_isMeta); }
- bool isSubContact() const { return(m_isSubcontact); }
- bool isFavorite() const { return(m_isFavorite); }
- bool isRecent() const { return(m_isRecent); }
- const TCHAR* getRealAccount() const { return(m_szAccount ? m_szAccount : C_INVALID_ACCOUNT); }
- const TCHAR* getUIN() const { return(m_szUIN); }
- const TCHAR* getStatusMsg() const { return(m_szStatusMsg); }
- const TCHAR* getXStatusMsg() const { return(m_xStatusMsg); }
- const TCHAR* getListeningInfo() const { return(m_ListeningInfo); }
- BYTE getXStatusId() const { return(m_xStatus); }
- const HWND getWindowData(TWindowData*& dat) const { dat = m_dat; return(m_hwnd); }
- const HWND getHwnd() const { return(m_hwnd); }
+ const bool isValid() const { return m_Valid; }
+ const WORD getStatus() const { return m_wStatus; }
+ const WORD getActiveStatus() const { return m_wStatus; }
+ const WORD getOldStatus() const { return m_wOldStatus; }
+ const TCHAR* getNick() const { return m_szNick; }
+ const MCONTACT getContact() const { return m_hContact; }
+ const MCONTACT getActiveContact() const { return m_isMeta ? (m_hSubContact ? m_hSubContact : m_hContact) : m_hContact; }
+ const DWORD getIdleTS() const { return m_idleTS; }
+ const char* getProto() const { return m_szProto; }
+ const char* getActiveProto() const { return m_isMeta ? (m_szMetaProto ? m_szMetaProto : m_szProto) : m_szProto; }
+ bool isMeta() const { return m_isMeta; }
+ bool isSubContact() const { return m_isSubcontact; }
+ bool isFavorite() const { return m_isFavorite; }
+ bool isRecent() const { return m_isRecent; }
+ const TCHAR* getRealAccount() const { return m_szAccount ? m_szAccount : C_INVALID_ACCOUNT; }
+ const TCHAR* getUIN() const { return m_szUIN; }
+ const TCHAR* getStatusMsg() const { return m_szStatusMsg; }
+ const TCHAR* getXStatusMsg() const { return m_xStatusMsg; }
+ const TCHAR* getListeningInfo() const { return m_ListeningInfo; }
+ BYTE getXStatusId() const { return m_xStatus; }
+ const HWND getWindowData(TWindowData*& dat) const { dat = m_dat; return m_hwnd; }
+ const HWND getHwnd() const { return m_hwnd; }
int getMaxMessageLength();
- TWindowData* getDat() const { return(m_dat); }
+ TWindowData* getDat() const { return m_dat; }
void updateStats(int iType, size_t value = 0);
- const DWORD getSessionStart() const { return(m_stats->started); }
- const int getSessionMsgCount() const { return((int)m_stats->messageCount); }
+ const DWORD getSessionStart() const { return m_stats->started; }
+ const int getSessionMsgCount() const { return (int)m_stats->messageCount; }
////////////////////////////////////////////////////////////////////////////
@@ -139,10 +134,8 @@ private: MCONTACT m_hContact;
MCONTACT m_hSubContact;
- WORD m_wStatus, m_wMetaStatus;
- WORD m_wOldStatus;
+ WORD m_wStatus, m_wOldStatus;
char* m_szProto, *m_szMetaProto;
- TCHAR* m_tszProto, m_tszMetaProto[40];
TCHAR* m_szAccount;
TCHAR m_szNick[80], m_szUIN[80];
TCHAR* m_szStatusMsg, *m_xStatusMsg, *m_ListeningInfo;
|