--- AE/Installer/trunk/source/globals.h 2010/03/27 03:48:25 504 +++ AE/Installer/trunk/source/globals.h 2010/06/01 13:13:59 565 @@ -39,8 +39,6 @@ using namespace boost::filesystem; using namespace std; -//#pragma mark DEFINES -#define INSTALLER_VERSION "1.2" // only place we need to change this #define UPDATE_LOG_READ_ERR -1 #define UPDATE_INST_REPL_ERR -2 #define UPDATE_MNTH_REQD_ERR -3 @@ -49,8 +47,8 @@ using namespace std; #define UPDATE_GLOB_AVAIL 2 #define UPDATE_INST_AVAIL 3 #define UPDATE_CONT_UPD 4 -#define UPDATE_THIRD_PARTY 5 -//#pragma mark STRUCTS +#define UPDATE_PKG_AVAIL 5 + struct ModPackage { bool isInstalled; // replace with function @@ -90,18 +88,18 @@ struct Install_info_cfg Install_info_cfg(); }; - -//#pragma mark PROTOTYPES void recompileAll(vector); int globalizeData(void); bool CheckForGlobalization(bool); int GetUpdateStatus(Install_info_cfg *, Install_info_cfg *, bool *); bool ProcessInstallerUpdate(Install_info_cfg *, Install_info_cfg *); bool ProcessAEUpdate(Install_info_cfg *, Install_info_cfg *, bool *); -bool ProcessThirdPartyUpdates(void); +void ProcessPackageUpdates(string, string); void callRefreshMods(void); string escapePath(string input); void setStatusArea(string); void setProgressBar(int); void copy_directory(const path &from_dir_ph, const path &to_dir_ph); void copy(const path &from_file_ph, const path &to_file_ph); + +static string gInstallerVersion = "1.11"; // only place in source we need to change this \ No newline at end of file