blob: 0a46518efe3080e3c553370c0d3859d84db313a6 (
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
|
#ifndef _UTILS_INC
#define _UTILS_INC
#include "xmldata.h"
bool VersionFromString(const char *szVer, DWORD *pdwVer);
int CheckForFileID(char *update_url, char *version_url, char *name);
bool CreatePath(const TCHAR *path);
// must 'free' return val
TCHAR *GetTString(const char *asc);
// use system default codepage - called from external process where langpack codepage is not (easily) accessible
TCHAR *GetTStringACP(const char *asc);
char *GetAString(const TCHAR *t);
void RemoveFolder(const TCHAR *src_folder);
bool FolderIsEmpty(const TCHAR *folder);
bool DeleteNonDlls(const TCHAR *folder);
#endif
|