diff options
author | Alex <aunsane@gmail.com> | 2017-12-16 20:26:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-12-16 20:26:23 +0300 |
commit | 41a5dbf4d9d937b5fe9df3c700e8c43c82f2343c (patch) | |
tree | d765c53432332e29b4e088d12db500e8aea6f2cb /protocols/Tox/src/tox_thread.h | |
parent | fa47233bca994ad009ad3536e1eeea3abd03ca39 (diff) |
Tox: (#1068)
- moved to self compiled libtox
- removed unused code (multimedia & chatrooms)
- removed unneeded files & tools
- version bump
Diffstat (limited to 'protocols/Tox/src/tox_thread.h')
-rw-r--r-- | protocols/Tox/src/tox_thread.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/protocols/Tox/src/tox_thread.h b/protocols/Tox/src/tox_thread.h index ae0f4225f8..37372177dc 100644 --- a/protocols/Tox/src/tox_thread.h +++ b/protocols/Tox/src/tox_thread.h @@ -5,22 +5,16 @@ class CToxThread {
private:
Tox *tox;
- ToxAV *toxAV;
public:
CToxThread(Tox_Options *options, TOX_ERR_NEW *error = NULL)
- : tox(NULL), toxAV(NULL)
+ : tox(NULL)
{
tox = tox_new(options, error);
}
~CToxThread()
{
- if (toxAV)
- {
- toxav_kill(toxAV);
- toxAV = NULL;
- }
if (tox)
{
@@ -33,11 +27,6 @@ public: {
return tox;
}
-
- ToxAV* ToxAV()
- {
- return toxAV;
- }
};
#endif //_TOX_THREAD_H_
\ No newline at end of file |