summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-02-23 16:39:28 +0300
committeraunsane <aunsane@gmail.com>2017-02-23 16:40:23 +0300
commit34e423793fe14fe60a1e463e724523bc1f471cd3 (patch)
tree43b19928c01cc652c46b9d7d9f34312552f9a1a9 /protocols/Tox/src/tox_proto.h
parentbbb4ba8b737a4c3aaf165392f1d4919c0147b834 (diff)
Tox:
- added compatibility check - version bump
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r--protocols/Tox/src/tox_proto.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h
index 65ab3c2c15..953452d01b 100644
--- a/protocols/Tox/src/tox_proto.h
+++ b/protocols/Tox/src/tox_proto.h
@@ -65,6 +65,9 @@ public:
static int OnModulesLoaded(WPARAM, LPARAM);
+ // utils
+ static void ShowNotification(const wchar_t *message, int flags = 0, MCONTACT hContact = NULL);
+
private:
CToxThread *toxThread;
mir_cs profileLock;
@@ -287,7 +290,7 @@ private:
static wchar_t* ToxErrorToString(TOX_ERR_NEW error);
static wchar_t* ToxErrorToString(TOX_ERR_FRIEND_SEND_MESSAGE error);
- static void ShowNotification(const wchar_t *message, int flags = 0, MCONTACT hContact = NULL);
+
static void ShowNotification(const wchar_t *caption, const wchar_t *message, int flags = 0, MCONTACT hContact = NULL);
static bool IsFileExists(const wchar_t* path);