summaryrefslogtreecommitdiff
path: root/src/client/SaveFile.h
blob: b63d18144713b3afef7795f712cfabf1cd98fe00 (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
32
33
34
35
36
37
38
/*
 * SaveFile.h
 *
 *  Created on: Jun 6, 2012
 *      Author: Simon
 */

#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_ */