summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/contactcache.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-08-08 07:38:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-08-08 07:38:27 +0000
commitcd3898d8ea6f3fc53950f91544c1db2ee86c60d6 (patch)
treef652773902756114fc5badc9a4f741d427320ee8 /plugins/TabSRMM/src/contactcache.h
parent212d36e4fd71b88a427ecbc8e3c3536daf88de38 (diff)
cleaning rest of m_wStatus
git-svn-id: http://svn.miranda-ng.org/main/trunk@17167 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.h')
-rw-r--r--plugins/TabSRMM/src/contactcache.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/TabSRMM/src/contactcache.h b/plugins/TabSRMM/src/contactcache.h
index 3c19516ec9..769654ac7e 100644
--- a/plugins/TabSRMM/src/contactcache.h
+++ b/plugins/TabSRMM/src/contactcache.h
@@ -58,14 +58,14 @@ struct TSessionStats {
struct CContactCache : public MZeroedObject
{
CContactCache() {}
- CContactCache(const MCONTACT hContact);
+ CContactCache(MCONTACT hContact);
~CContactCache()
{
releaseAlloced();
}
__forceinline bool isValid() const { return m_Valid; }
- __forceinline WORD getActiveStatus() const { return m_isMeta ? m_wMetaStatus : m_wStatus; }
+ __forceinline WORD getActiveStatus() const { return m_isMeta ? m_wMetaStatus : getStatus(); }
__forceinline WORD getOldStatus() const { return m_wOldStatus; }
__forceinline LPCWSTR getNick() const { return m_szNick; }
__forceinline MCONTACT getContact() const { return m_hContact; }
@@ -128,11 +128,11 @@ private:
void releaseAlloced();
MCONTACT m_hContact, m_hSub;
- WORD m_wStatus, m_wOldStatus, m_wMetaStatus;
+ WORD m_wOldStatus, m_wMetaStatus;
char *m_szMetaProto;
- wchar_t *m_szAccount;
- wchar_t m_szNick[80], m_szUIN[80];
- wchar_t *m_szStatusMsg, *m_xStatusMsg, *m_ListeningInfo;
+ wchar_t *m_szAccount;
+ wchar_t m_szNick[80], m_szUIN[80];
+ wchar_t *m_szStatusMsg, *m_xStatusMsg, *m_ListeningInfo;
BYTE m_xStatus;
DWORD m_idleTS;
bool m_isMeta;