From 41a5dbf4d9d937b5fe9df3c700e8c43c82f2343c Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 16 Dec 2017 20:26:23 +0300 Subject: Tox: (#1068) - moved to self compiled libtox - removed unused code (multimedia & chatrooms) - removed unneeded files & tools - version bump --- protocols/Tox/src/api_connection.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 protocols/Tox/src/api_connection.cpp (limited to 'protocols/Tox/src/api_connection.cpp') diff --git a/protocols/Tox/src/api_connection.cpp b/protocols/Tox/src/api_connection.cpp deleted file mode 100644 index 1ed6b51d40..0000000000 --- a/protocols/Tox/src/api_connection.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "stdafx.h" - -/* CONNECTION FUNCTIONS */ - -bool tox_bootstrap(Tox *tox, const char *host, uint16_t port, const uint8_t *public_key, TOX_ERR_BOOTSTRAP *error) -{ - return CreateFunction(__FUNCTION__)(tox, host, port, public_key, error); -} - -bool tox_add_tcp_relay(Tox *tox, const char *host, uint16_t port, const uint8_t *public_key, TOX_ERR_BOOTSTRAP *error) -{ - return CreateFunction(__FUNCTION__)(tox, host, port, public_key, error); -} - -TOX_CONNECTION tox_self_get_connection_status(const Tox *tox) -{ - return CreateFunction(__FUNCTION__)(tox); -} - -uint32_t tox_iteration_interval(const Tox *tox) -{ - return CreateFunction(__FUNCTION__)(tox); -} - -void tox_iterate(Tox *tox, void *user_data) -{ - CreateFunction(__FUNCTION__)(tox, user_data); -} \ No newline at end of file -- cgit v1.2.3