summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_xstatus.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-02 15:53:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-02 15:53:29 +0300
commit539586996ab793264744b580e808140da439a22e (patch)
tree068b81a29931a66ca12e578ecbbbbd8f99be7be6 /protocols/JabberG/src/jabber_xstatus.h
parent38e179fe0f2e0f4335722f50b582c04a92ceb639 (diff)
fixes #1241 (some status menu items don't change language until restart)
Diffstat (limited to 'protocols/JabberG/src/jabber_xstatus.h')
-rw-r--r--protocols/JabberG/src/jabber_xstatus.h15
1 files changed, 10 insertions, 5 deletions
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);