diff options
author | aunsane <aunsane@gmail.com> | 2017-12-18 15:17:26 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-12-18 20:37:16 +0300 |
commit | 215c3b0f8ba4a6b754936b0ebcbd5cb9a30c7e46 (patch) | |
tree | 9c56d4160a2a6e6d09e38eecc6740e15df0ffbc4 /protocols/Tox/src/tox_options.h | |
parent | 97254a71ba33edf4c829e4c4b0c4961c6348045f (diff) |
Tox: added 2 new options
- UDP hole-punching
- local network peer discovery
Diffstat (limited to 'protocols/Tox/src/tox_options.h')
-rw-r--r-- | protocols/Tox/src/tox_options.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_options.h b/protocols/Tox/src/tox_options.h index f134e3d554..011aaf6b76 100644 --- a/protocols/Tox/src/tox_options.h +++ b/protocols/Tox/src/tox_options.h @@ -17,7 +17,9 @@ private: CCtrlEdit m_group;
CCtrlCheck m_enableUdp;
+ CCtrlCheck m_enableUdpHolePunching;
CCtrlCheck m_enableIPv6;
+ CCtrlCheck m_enableLocalDiscovery;
CCtrlEdit m_maxConnectRetries;
CCtrlSpin m_maxConnectRetriesSpin;
@@ -27,6 +29,8 @@ private: protected:
void OnInitDialog();
+ void EnableUdp_OnClick(CCtrlBase*);
+
void ToxAddressCopy_OnClick(CCtrlButton*);
void ProfileCreate_OnClick(CCtrlButton*);
void ProfileImport_OnClick(CCtrlButton*);
|