diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-01 14:48:34 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-01 14:48:34 +0000 |
commit | d123e0ce94bf90b2adb0a4000930eb467e293226 (patch) | |
tree | d414dea59908105c4d2f256199a610e0a69c8690 /updater/popups.h | |
parent | a13e82647294da4add976a24335fec50d7bfe905 (diff) |
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@16 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'updater/popups.h')
-rw-r--r-- | updater/popups.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/updater/popups.h b/updater/popups.h new file mode 100644 index 0000000..c389897 --- /dev/null +++ b/updater/popups.h @@ -0,0 +1,36 @@ +#ifndef _POPUPS_INC
+#define _POPUPS_INC
+
+#include <m_popup.h>
+//#include <m_popupw.h>
+
+#include "options.h"
+
+#include "str_utils.h"
+
+#include "icons.h"
+
+void InitPopups();
+void DeinitPopups();
+
+bool ArePopupsEnabled();
+
+void ShowPopupA(HANDLE hContact, const char* line1, const char* line2, int flags = 0, int timeout = 0);
+void ShowPopupW(HANDLE hContact, const wchar_t* line1, const wchar_t* line2, int flags = 0, int timeout = 0);
+
+void ShowPopup(HANDLE hContact, const TCHAR *line1, const TCHAR *line2, int flags = 0, int timeout = 0);
+
+void ShowWarning(TCHAR *msg);
+void ShowError(TCHAR *msg);
+
+void ChangePopupText(HWND hwnd, TCHAR *msg);
+
+extern HWND hwndPop;
+extern HANDLE hEventPop;
+extern bool pop_cancelled;
+
+#define WMU_CLOSEPOP (WM_USER + 0x191)
+
+#define POPFLAG_SAVEHWND 0x01
+
+#endif
|