diff options
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 |