summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.h
diff options
context:
space:
mode:
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);