2012-06-07 08:23:26 -05:00
|
|
|
/*
|
|
|
|
* SaveFile.h
|
|
|
|
*
|
|
|
|
* Created on: Jun 6, 2012
|
|
|
|
* Author: Simon
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SAVEFILE_H_
|
|
|
|
#define SAVEFILE_H_
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2012-08-12 16:32:57 -05:00
|
|
|
class GameSave;
|
2012-07-27 14:06:17 -05:00
|
|
|
class Thumbnail;
|
2012-08-12 16:32:57 -05:00
|
|
|
|
2012-06-07 08:23:26 -05:00
|
|
|
class SaveFile {
|
|
|
|
public:
|
|
|
|
SaveFile(SaveFile & save);
|
2012-08-12 16:32:57 -05:00
|
|
|
SaveFile(std::string filename);
|
2012-06-07 08:23:26 -05:00
|
|
|
|
2012-07-27 14:06:17 -05:00
|
|
|
Thumbnail * GetThumbnail();
|
2012-06-07 08:23:26 -05:00
|
|
|
GameSave * GetGameSave();
|
2012-07-27 14:06:17 -05:00
|
|
|
void SetThumbnail(Thumbnail * thumb);
|
2012-06-07 08:23:26 -05:00
|
|
|
void SetGameSave(GameSave * save);
|
2012-08-12 16:32:57 -05:00
|
|
|
std::string GetDisplayName();
|
|
|
|
void SetDisplayName(std::string displayName);
|
|
|
|
std::string GetName();
|
2012-10-19 18:17:15 -05:00
|
|
|
void SetFileName(std::string fileName);
|
2012-06-07 08:23:26 -05:00
|
|
|
|
|
|
|
virtual ~SaveFile();
|
|
|
|
private:
|
2012-07-27 14:06:17 -05:00
|
|
|
Thumbnail * thumbnail;
|
2012-06-07 08:23:26 -05:00
|
|
|
GameSave * gameSave;
|
2012-08-12 16:32:57 -05:00
|
|
|
std::string filename;
|
|
|
|
std::string displayName;
|
2012-06-07 08:23:26 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* SAVEFILE_H_ */
|