--- AE/Installer/trunk/source/installer.h 2009/05/26 18:51:14 325 +++ AE/Installer/trunk/source/installer.h 2009/06/29 19:23:42 379 @@ -13,8 +13,7 @@ using namespace std; static string SLASHSLASH = "//"; static string DIRSLASH = "\\"; string strInstallCfg = "../GameDataFolder/Add.cfg"; - - +static string strInstallerVersion = "1.0"; #define STRUCT_DEFS struct ModPackage @@ -48,7 +47,15 @@ struct ModPackage cout << " Readme: " << readme << "\n"; cout << "\n"; } - + + bool operator < (const ModPackage &fs) const + { return (name < fs.name);} + + bool operator > (const ModPackage &fs) const + { return (name > fs.name);} + + bool operator == (const ModPackage &fs) const + { return (name == fs.name);} }; #define METHOD_DEFS