blob: c6091f4dfa522a9d4ad2789be238065735db1bb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef _EXTERN_INC
#define _EXTERN_INC
#include "options.h"
#define ROOT_FILES_FOLDER _T("root_files")
// returns 1 if any error, 0 if shutdown is imminent
int ExternProcess(bool restart);
// move all files in src_folder to backup_folder - put replaced files in backup folder
// if a file in src_folder is a directory, copy it's contents to the same dir in the root folder and
// set that dir as the new root (so that dirs in dirs go in the right place)
void MoveFiles(HANDLE hLogFile, TCHAR *src_folder, TCHAR *dst_folder, TCHAR *backup_folder, TCHAR *root_folder);
void CALLBACK ExternalUpdate(HWND hwnd, HINSTANCE hInstance, LPSTR lpszCmdLine, int nCmdShow);
#endif
|