blob: 28dfa1eff9ccee9e88521a61b20af672357c08c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#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
void RemoveFolder(const TCHAR *src_folder);
bool FolderIsEmpty(const TCHAR *folder);
bool DeleteNonDlls(const TCHAR *folder);
#endif
|