summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_dialogs.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-10 12:01:55 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-10 12:01:55 +0000
commit78f97fe198286a120370f6c56921205191f986b0 (patch)
tree96629174df34f22697c5eaad7cfe102f8f7fd5eb /protocols/Tox/src/tox_dialogs.h
parentbff791f9bd1828c66e1462a4a3f86a800b58ad13 (diff)
Tox:
- switched to new api - updated tox core git-svn-id: http://svn.miranda-ng.org/main/trunk@12726 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_dialogs.h')
-rw-r--r--protocols/Tox/src/tox_dialogs.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_dialogs.h b/protocols/Tox/src/tox_dialogs.h
new file mode 100644
index 0000000000..c78c7a8943
--- /dev/null
+++ b/protocols/Tox/src/tox_dialogs.h
@@ -0,0 +1,21 @@
+#ifndef _TOX_DIALOGS_H_
+#define _TOX_DIALOGS_H_
+
+typedef CProtoDlgBase<CToxProto> CToxDlgBase;
+
+class CToxPasswordEditor : public CToxDlgBase
+{
+private:
+ CCtrlEdit password;
+ CCtrlCheck savePermanently;
+
+ CCtrlButton ok;
+
+protected:
+ void OnOk(CCtrlButton*);
+
+public:
+ CToxPasswordEditor(CToxProto *proto);
+};
+
+#endif //_TOX_DIALOGS_H_ \ No newline at end of file