39 |
|
using namespace boost::filesystem; |
40 |
|
using namespace std; |
41 |
|
|
42 |
– |
//#pragma mark DEFINES |
43 |
– |
#define INSTALLER_VERSION "1.1" // only place in source we need to change this |
42 |
|
#define UPDATE_LOG_READ_ERR -1 |
43 |
|
#define UPDATE_INST_REPL_ERR -2 |
44 |
|
#define UPDATE_MNTH_REQD_ERR -3 |
48 |
|
#define UPDATE_INST_AVAIL 3 |
49 |
|
#define UPDATE_CONT_UPD 4 |
50 |
|
#define UPDATE_PKG_AVAIL 5 |
51 |
< |
//#pragma mark STRUCTS |
51 |
> |
|
52 |
|
struct ModPackage |
53 |
|
{ |
54 |
|
bool isInstalled; // replace with function |
88 |
|
Install_info_cfg(); |
89 |
|
}; |
90 |
|
|
93 |
– |
|
94 |
– |
//#pragma mark PROTOTYPES |
91 |
|
void recompileAll(vector<string>); |
92 |
|
int globalizeData(void); |
93 |
|
bool CheckForGlobalization(bool); |
101 |
|
void setProgressBar(int); |
102 |
|
void copy_directory(const path &from_dir_ph, const path &to_dir_ph); |
103 |
|
void copy(const path &from_file_ph, const path &to_file_ph); |
104 |
+ |
|
105 |
+ |
static string gInstallerVersion = "1.11"; // only place in source we need to change this |