blob: 600562cf602d350024e01d97c2182bf6b0f3efad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef _UTILS_INC
#define _UTILS_INC
#include "common.h"
#include "options.h"
wchar_t *a2w(const char *as);
char *w2a(const wchar_t *ws);
char *w2u(const wchar_t *ws);
wchar_t *u2w(const char *ws);
TCHAR *u2t(const char *utfs);
char *t2u(const TCHAR *ts);
char *t2a(const TCHAR *ts);
TCHAR *a2t(const char *as);
char *u2a(const char *utfs);
char *a2u(const char *as);
void InitUtils();
void DeinitUtils();
void ShowPopupA( const char* line1, const char* line2, int flags = 0);
void ShowPopupW( const wchar_t* line1, const wchar_t* line2, int flags = 0);
#ifdef _UNICODE
#define ShowPopup ShowPopupW
#else
#define ShowPopup ShowPopupA
#endif
void ShowWarning(TCHAR *msg);
void ShowError(TCHAR *msg);
#endif
|