From 539586996ab793264744b580e808140da439a22e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 2 Apr 2018 15:53:29 +0300 Subject: fixes #1241 (some status menu items don't change language until restart) --- protocols/JabberG/src/jabber_xstatus.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'protocols/JabberG/src/jabber_xstatus.h') diff --git a/protocols/JabberG/src/jabber_xstatus.h b/protocols/JabberG/src/jabber_xstatus.h index b7878f9c7c..2ff26cba2a 100644 --- a/protocols/JabberG/src/jabber_xstatus.h +++ b/protocols/JabberG/src/jabber_xstatus.h @@ -43,10 +43,11 @@ public: void Retract(); void ResetPublish(); - virtual void InitGui() {} - virtual void RebuildMenu() {} - virtual void ResetExtraIcon(MCONTACT) {} + virtual void InitGui() = 0; + virtual void RebuildMenu() = 0; + virtual void ResetExtraIcon(MCONTACT) = 0; virtual bool LaunchSetGui() { return false; } + virtual void UpdateMenuView(void) = 0; protected: CJabberProto *m_proto; @@ -156,8 +157,10 @@ public: int m_mode; protected: + void ShowSetDialog(BYTE bQuiet) override; + void UpdateMenuView(void) override; + void CreateData(HXML); - void ShowSetDialog(BYTE bQuiet); void SetExtraIcon(MCONTACT hContact, char *szMood); void SetMood(MCONTACT hContact, const wchar_t *szMood, const wchar_t *szText); @@ -176,8 +179,10 @@ protected: wchar_t *m_text; int m_mode; + void ShowSetDialog(BYTE bQuiet) override; + void UpdateMenuView(void) override; + void CreateData(HXML); - void ShowSetDialog(BYTE bQuiet); void SetExtraIcon(MCONTACT hContact, char *szActivity); void SetActivity(MCONTACT hContact, const wchar_t *szFirst, const wchar_t *szSecond, const wchar_t *szText); -- cgit v1.2.3