From d123e0ce94bf90b2adb0a4000930eb467e293226 Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 1 Nov 2006 14:48:34 +0000 Subject: git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@16 4f64403b-2f21-0410-a795-97e2b3489a10 --- updater/popups.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 updater/popups.h (limited to 'updater/popups.h') 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 +//#include + +#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 -- cgit v1.2.3