From 5fd260b7c4c98bfa2d17a301d832a859c2af1f92 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 21 Jul 2024 16:17:48 +0300 Subject: =?UTF-8?q?fixes=20#4555=20(=D0=97=D0=B0=D0=B4=D0=B2=D0=B0=D0=B8?= =?UTF-8?q?=D0=B2=D0=B0=D1=8E=D1=82=D1=81=D1=8F=20=D0=BA=D0=BE=D0=BD=D1=82?= =?UTF-8?q?=D0=B0=D0=BA=D1=82=D1=8B=20=D0=BF=D1=80=D0=BE=D1=82=D0=BE=D0=BA?= =?UTF-8?q?=D0=BE=D0=BB=D0=BE=D0=B2,=20=D0=B3=D0=B4=D0=B5=20=D0=B5=D1=81?= =?UTF-8?q?=D1=82=D1=8C=20=D0=BA=D1=8D=D1=88)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/m_protoint.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/m_protoint.h b/include/m_protoint.h index 08a124c2aa..8dc0955a63 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -80,8 +80,8 @@ protected: public: int m_iStatus; // current protocol status int m_iDesiredStatus; // status to be set after logging in - int m_iXStatus; // extanded status - int m_iVersion; // version 2 or higher designate support of Unicode services + uint8_t m_iVersion; // version 2 or higher designate support of Unicode services + bool m_bCacheInited; // was cache initialized or not wchar_t* m_tszUserName; // human readable protocol's name char* m_szModuleName; // internal protocol name, also its database module name HANDLE m_hProtoIcon = 0; // icon to be displayed in the account manager @@ -257,6 +257,8 @@ public: // builds the account's protocol menu virtual void OnBuildProtoMenu(void); + virtual void OnCacheInit(void); + // called when an account's contact is added virtual void OnContactAdded(MCONTACT); -- cgit v1.2.3