summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQ-WIM/src/proto.h')
-rw-r--r--protocols/ICQ-WIM/src/proto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/proto.h b/protocols/ICQ-WIM/src/proto.h
index 96374acfee..40f0475fbf 100644
--- a/protocols/ICQ-WIM/src/proto.h
+++ b/protocols/ICQ-WIM/src/proto.h
@@ -160,6 +160,8 @@ class CIcqProto : public PROTO<CIcqProto>
friend AsyncHttpRequest* operator <<(AsyncHttpRequest*, const AIMSID&);
bool m_bOnline, m_bTerminated, m_bFirstBos;
+ int m_iTimeShift;
+
MCONTACT CheckOwnMessage(const CMStringA &reqId, const CMStringA &msgId, bool bRemove);
void CheckPassword(void);
void ConnectionFailed(int iReason, int iErrorCode = 0);
@@ -357,6 +359,10 @@ public:
void CheckStatus(void);
CMStringW GetUserId(MCONTACT);
+ __forceinline int TS() const
+ { return time(0) - m_iTimeShift;
+ }
+
int __cdecl OnContactMenu(WPARAM, LPARAM);
void SetPermitDeny(const CMStringW &userId, bool bAllow);
};