diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-14 20:32:40 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-14 20:32:40 +0000 |
commit | 4d0735ab834be6c541e7e577fbe76c888bf4d09f (patch) | |
tree | 8e290ade50e86e7b5f53a2b66bb0f1f2a2119982 /protocols/Tox/src/common.h | |
parent | 31ba819bd0994a0a48a174cba37b5985522ff3f8 (diff) |
Tox: second approach for audio support
git-svn-id: http://svn.miranda-ng.org/main/trunk@12827 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/common.h')
-rw-r--r-- | protocols/Tox/src/common.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/protocols/Tox/src/common.h b/protocols/Tox/src/common.h index ba70f43c92..0c5fa59879 100644 --- a/protocols/Tox/src/common.h +++ b/protocols/Tox/src/common.h @@ -19,7 +19,6 @@ #include <m_database.h>
#include <m_langpack.h>
-#include <m_clist.h>
#include <m_options.h>
#include <m_netlib.h>
#include <m_popup.h>
@@ -32,6 +31,7 @@ #include <m_chat.h>
#include <m_genmenu.h>
#include <m_clc.h>
+#include <m_clist.h>
#include <m_clistint.h>
#include <m_gui.h>
@@ -57,7 +57,7 @@ struct CToxProto; extern HINSTANCE g_hInstance;
-#define MODULE "TOX"
+#define MODULE "Tox"
#define TOX_ERROR -1
@@ -81,7 +81,13 @@ extern HINSTANCE g_hInstance; #define TOX_SETTINGS_NODE_PKEY TOX_SETTINGS_NODE_PREFIX"%d_PubKey"
#define TOX_SETTINGS_NODE_COUNT TOX_SETTINGS_NODE_PREFIX"Count"
-#define TOX_DB_EVENT_TYPE_ACTION 10001
+enum TOX_DB_EVENT
+{
+ DB_EVENT_ACTION = 10001,
+ DB_EVENT_AUDIO_CALL = 20001
+};
+
+#define PSR_AUDIO "/RecvAudio"
#define TOX_MAX_AVATAR_SIZE 1024 * 1024
|