summaryrefslogtreecommitdiff
path: root/message_notify/popups.h
blob: b9ce8ac2d7309218430903b6e188679851128120 (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 <m_yapp.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