summaryrefslogtreecommitdiff
path: root/message_notify/popups.h
diff options
context:
space:
mode:
Diffstat (limited to 'message_notify/popups.h')
-rw-r--r--message_notify/popups.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/message_notify/popups.h b/message_notify/popups.h
new file mode 100644
index 0000000..eb71d85
--- /dev/null
+++ b/message_notify/popups.h
@@ -0,0 +1,21 @@
+#ifndef _POPUPS_INC
+#define _POPUPS_INC
+
+#include "../../include/m_popup.h"
+
+#include "options.h"
+#include "mywindowlist.h"
+
+void InitUtils();
+void DeinitUtils();
+
+void ShowPopup(HANDLE hContact, const char* line1, const char* line2, int flags = 0);
+void ShowWarning(char *msg);
+void ShowError(char *msg);
+
+bool IsUnicodePopupsEnabled();
+void ShowPopupW(HANDLE hContact, const wchar_t* line1, const wchar_t* line2, int flags = 0);
+
+#define WMU_CLOSEPOPUP (WM_USER + 200)
+
+#endif