#include <toxoptions.h>
|
| ToxOptions (Tox_Options *options, const QByteArray &proxyAddrData) |
| The ToxOptions class wraps the Tox_Options struct and the matching proxy address data. This is needed to ensure both have equal lifetime and are correctly deleted. More...
|
|
Definition at line 29 of file toxoptions.h.
◆ ~ToxOptions()
ToxOptions::~ToxOptions |
( |
| ) |
|
◆ ToxOptions() [1/2]
◆ ToxOptions() [2/2]
ToxOptions::ToxOptions |
( |
Tox_Options * |
options, |
|
|
const QByteArray & |
proxyAddrData |
|
) |
| |
|
private |
The ToxOptions class wraps the Tox_Options struct and the matching proxy address data. This is needed to ensure both have equal lifetime and are correctly deleted.
Definition at line 36 of file toxoptions.cpp.
◆ getIPv6Enabled()
bool ToxOptions::getIPv6Enabled |
( |
| ) |
const |
◆ getProxyAddrData()
const char * ToxOptions::getProxyAddrData |
( |
| ) |
const |
◆ makeToxOptions()
Initializes a ToxOptions instance.
- Parameters
-
savedata | Previously saved Tox data |
- Returns
- ToxOptions instance initialized to create Tox instance
Definition at line 69 of file toxoptions.cpp.
◆ operator Tox_Options *()
ToxOptions::operator Tox_Options * |
( |
| ) |
|
◆ setIPv6Enabled()
void ToxOptions::setIPv6Enabled |
( |
bool |
enabled | ) |
|
◆ options
Tox_Options* ToxOptions::options = nullptr |
|
private |
◆ proxyAddrData
QByteArray ToxOptions::proxyAddrData |
|
private |
The documentation for this class was generated from the following files: