diff options
Diffstat (limited to 'protocols/Tox/src/tox_options.h')
-rw-r--r-- | protocols/Tox/src/tox_options.h | 32 |
1 files changed, 8 insertions, 24 deletions
diff --git a/protocols/Tox/src/tox_options.h b/protocols/Tox/src/tox_options.h index 011aaf6b76..5a85edea61 100644 --- a/protocols/Tox/src/tox_options.h +++ b/protocols/Tox/src/tox_options.h @@ -13,9 +13,12 @@ private: CCtrlButton m_profileExport;
CCtrlEdit m_nickname;
- CCtrlEdit m_password;
CCtrlEdit m_group;
+ CCtrlButton m_passwordCreate;
+ CCtrlButton m_passwordChange;
+ CCtrlButton m_passwordRemove;
+
CCtrlCheck m_enableUdp;
CCtrlCheck m_enableUdpHolePunching;
CCtrlCheck m_enableIPv6;
@@ -29,6 +32,10 @@ private: protected:
void OnInitDialog();
+ void PasswordCreate_OnClick(CCtrlButton*);
+ void PasswordChange_OnClick(CCtrlButton*);
+ void PasswordRemove_OnClick(CCtrlButton*);
+
void EnableUdp_OnClick(CCtrlBase*);
void ToxAddressCopy_OnClick(CCtrlButton*);
@@ -54,29 +61,6 @@ public: /////////////////////////////////////////////////////////////////////////////////
-class CToxOptionsMultimedia : public CToxDlgBase
-{
-private:
- typedef CToxDlgBase CSuper;
-
- CCtrlCombo m_audioInput;
- CCtrlCombo m_audioOutput;
-
-protected:
- void EnumDevices(CCtrlCombo &combo, IMMDeviceEnumerator *pEnumerator, EDataFlow dataFlow, const char* setting);
-
- void OnInitDialog();
- void OnApply();
- void OnDestroy();
-
-public:
- CToxOptionsMultimedia(CToxProto *proto);
-
- static CDlgBase *CreateOptionsPage(void *param) { return new CToxOptionsMultimedia((CToxProto*)param); }
-};
-
-/////////////////////////////////////////////////////////////////////////////////
-
class CToxNodeEditor : public CDlgBase
{
private:
|