summaryrefslogtreecommitdiff
path: root/src/client/SaveFile.h
blob: d631bc11079efe9d7bc7a0d4e0d6d93631358c18 (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
39
/*
 * SaveFile.h
 *
 *  Created on: Jun 6, 2012
 *      Author: Simon
 */

#ifndef SAVEFILE_H_
#define SAVEFILE_H_

#include <string>
#include "GameSave.h"


using namespace std;

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

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

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

#endif /* SAVEFILE_H_ */