diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-26 11:03:17 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-26 11:03:17 +0000 |
commit | dde1f3e583159fddbcdba6ec52e7e3e432c00711 (patch) | |
tree | a6ac4c5d4c957cf80f0fff3867ea2d7a0ddb958a /protocols/Tox/src/common.h | |
parent | 73d66eaffe6fb0b0b422c3c9a7e24f4914d370fe (diff) |
Tox: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13160 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/common.h')
-rw-r--r-- | protocols/Tox/src/common.h | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/protocols/Tox/src/common.h b/protocols/Tox/src/common.h deleted file mode 100644 index be70a8bf6b..0000000000 --- a/protocols/Tox/src/common.h +++ /dev/null @@ -1,107 +0,0 @@ -#ifndef _COMMON_H_
-#define _COMMON_H_
-
-#include <windows.h>
-#include <windns.h>
-#include <time.h>
-#include <commctrl.h>
-
-#include <mmreg.h>
-
-#include <string>
-#include <vector>
-#include <regex>
-#include <queue>
-#include <map>
-
-#include <newpluginapi.h>
-
-#include <m_protoint.h>
-#include <m_protomod.h>
-#include <m_protosvc.h>
-
-#include <m_database.h>
-#include <m_langpack.h>
-#include <m_options.h>
-#include <m_netlib.h>
-#include <m_popup.h>
-#include <m_icolib.h>
-#include <m_userinfo.h>
-#include <m_addcontact.h>
-#include <m_message.h>
-#include <m_avatars.h>
-#include <m_skin.h>
-#include <m_chat.h>
-#include <m_genmenu.h>
-#include <m_clc.h>
-#include <m_clist.h>
-#include <m_clistint.h>
-#include <m_gui.h>
-
-#include <m_folders.h>
-
-#include <tox.h>
-#include <toxav.h>
-#include <toxdns.h>
-#include <toxencryptsave.h>
-
-struct CToxProto;
-
-#include "version.h"
-#include "resource.h"
-#include "tox_icons.h"
-#include "tox_menus.h"
-#include "tox_address.h"
-#include "tox_dialogs.h"
-#include "tox_profile.h"
-#include "tox_options.h"
-#include "tox_transfer.h"
-#include "tox_multimedia.h"
-#include "tox_chatrooms.h"
-#include "tox_proto.h"
-
-extern HINSTANCE g_hInstance;
-
-#define MODULE "Tox"
-
-#define TOX_ERROR -1
-
-#define TOX_MAX_CONNECT_RETRIES 300
-#define TOX_MAX_DISCONNECT_RETRIES 300
-
-#define TOX_MAX_CALLS 1
-
-#define TOX_INI_PATH "%miranda_path%\\Plugins\\tox.ini"
-
-#define TOX_SETTINGS_ID "ToxID"
-#define TOX_SETTINGS_DNS "DnsID"
-#define TOX_SETTINGS_CHAT_ID "ChatID"
-#define TOX_SETTINGS_GROUP "DefaultGroup"
-#define TOX_SETTINGS_AVATAR_HASH "AvatarHash"
-
-#define TOX_SETTINGS_NODE_PREFIX "Node_"
-#define TOX_SETTINGS_NODE_IPV4 TOX_SETTINGS_NODE_PREFIX"%d_IPv4"
-#define TOX_SETTINGS_NODE_IPV6 TOX_SETTINGS_NODE_PREFIX"%d_IPv6"
-#define TOX_SETTINGS_NODE_PORT TOX_SETTINGS_NODE_PREFIX"%d_Port"
-#define TOX_SETTINGS_NODE_PKEY TOX_SETTINGS_NODE_PREFIX"%d_PubKey"
-#define TOX_SETTINGS_NODE_COUNT TOX_SETTINGS_NODE_PREFIX"Count"
-
-enum TOX_DB_EVENT
-{
- DB_EVENT_ACTION = 10001,
- DB_EVENT_CALL = 20001
-};
-
-#define PSR_AUDIO "/RecvAudio"
-
-#define TOX_MAX_AVATAR_SIZE 1024 * 1024
-
-extern HMODULE g_hToxLibrary;
-
-template<typename T>
-T CreateFunction(LPCSTR functionName)
-{
- return reinterpret_cast<T>(GetProcAddress(g_hToxLibrary, functionName));
-}
-
-#endif //_COMMON_H_
\ No newline at end of file |