diff options
author | ElzorFox <elzorfox@ya.ru> | 2017-09-19 13:44:36 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2017-09-19 13:45:19 +0500 |
commit | 73b122d495760172d7f380d783d17e1b36212282 (patch) | |
tree | cd4634fe9da43e16aef01ef1b615274a9fec542f /protocols/VKontakte/src/vk_dialogs.h | |
parent | 7b91e481c58fdc8bca6619e3665bc1ded40b0200 (diff) |
VKontakte:
add removing from friendlist and clear server history on delete from Miranda clist
version bump
Diffstat (limited to 'protocols/VKontakte/src/vk_dialogs.h')
-rw-r--r-- | protocols/VKontakte/src/vk_dialogs.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_dialogs.h b/protocols/VKontakte/src/vk_dialogs.h index 9e65d92daf..4f61f5ceb9 100644 --- a/protocols/VKontakte/src/vk_dialogs.h +++ b/protocols/VKontakte/src/vk_dialogs.h @@ -118,4 +118,38 @@ public: void btnOk_OnOk(CCtrlButton*);
void FilterList(CCtrlClc*);
void ResetListOptions(CCtrlClc*);
+};
+
+////////////////////////////////// IDD_CONTACTDELETE //////////////////////////////////////
+
+struct CONTACTDELETE_FORM_PARAMS
+{
+ wchar_t *pwszNick;
+ bool bDeleteFromFriendlist;
+ bool bEnableDeleteFromFriendlist;
+ bool bDeleteDialog;
+
+ CONTACTDELETE_FORM_PARAMS(wchar_t *nick, bool _bDeleteFromFriendlist, bool _bEnableDeleteFromFriendlist, bool _bDeleteDialog) :
+ pwszNick(nick),
+ bDeleteFromFriendlist(_bDeleteFromFriendlist),
+ bEnableDeleteFromFriendlist(_bEnableDeleteFromFriendlist),
+ bDeleteDialog(_bDeleteDialog)
+ {}
+
+};
+
+
+class CVkContactDeleteForm : public CVkDlgBase
+{
+ CCtrlBase m_stText;
+ CCtrlCheck m_cbDeleteFromFriendlist;
+ CCtrlCheck m_cbDeleteDialog;
+ CCtrlButton m_btnOk;
+
+ CONTACTDELETE_FORM_PARAMS *m_param;
+
+public:
+ CVkContactDeleteForm(CVkProto *proto, CONTACTDELETE_FORM_PARAMS *param);
+ void OnInitDialog();
+ void btnOk_OnOk(CCtrlButton*);
};
\ No newline at end of file |