1 /*************************************************************************** 2 * Mechanized Assault and Exploration Reloaded Projectfile * 3 * * 4 * This program is free software; you can redistribute it and/or modify * 5 * it under the terms of the GNU General Public License as published by * 6 * the Free Software Foundation; either version 2 of the License, or * 7 * (at your option) any later version. * 8 * * 9 * This program is distributed in the hope that it will be useful, * 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 12 * GNU General Public License for more details. * 13 * * 14 * You should have received a copy of the GNU General Public License * 15 * along with this program; if not, write to the * 16 * Free Software Foundation, Inc., * 17 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 18 ***************************************************************************/ 19 #ifndef ui_graphical_menu_windows_windowload_savegamedataH 20 #define ui_graphical_menu_windows_windowload_savegamedataH 21 22 #include <string> 23 24 class cSaveGameData 25 { 26 public: 27 cSaveGameData(); 28 cSaveGameData (std::string fileName, std::string gameName, std::string type, std::string date, int number); 29 30 const std::string& getFileName() const; 31 void setFileName (std::string name); 32 33 const std::string& getGameName() const; 34 void setGameName (std::string name); 35 36 const std::string& getType() const; 37 void setType (std::string type); 38 39 const std::string& getDate() const; 40 void setDate (std::string date); 41 42 int getNumber() const; 43 void setNumber (int number); 44 45 private: 46 /** the file name of the save game */ 47 std::string fileName; 48 /** the displayed name of the save game */ 49 std::string gameName; 50 /** the type of the save game (SIN, HOT, NET) */ 51 std::string type; 52 /** the date and time when this save game was saved */ 53 std::string date; 54 55 /** the number of the save game */ 56 int number; 57 }; 58 59 #endif // ui_graphical_menu_windows_windowload_savegamedataH 60