summaryrefslogtreecommitdiff
path: root/message_notify/popups.h
blob: eb71d85052b542adf3903f142539def8bca0fe7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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