summaryrefslogtreecommitdiff
path: root/src/client/SaveFile.h
blob: 33211ddf646048729a2b216711286871474f7293 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef SAVEFILE_H_
#define SAVEFILE_H_

#include <string>

class GameSave;
class Thumbnail;

class SaveFile {
public:
	SaveFile(SaveFile & save);
	SaveFile(std::string filename);

	Thumbnail * GetThumbnail();
	GameSave * GetGameSave();
	void SetThumbnail(Thumbnail * thumb);
	void SetGameSave(GameSave * save);
	std::string GetDisplayName();
	void SetDisplayName(std::string displayName);
	std::string GetName();
	void SetFileName(std::string fileName);

	virtual ~SaveFile();
private:
	Thumbnail * thumbnail;
	GameSave * gameSave;
	std::string filename;
	std::string displayName;
};

#endif /* SAVEFILE_H_ */