ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/CGIRenegadeMapSelector/RenegadeConfig.h
Revision: 131
Committed: 2003-04-05T22:20:47-08:00 (19 years, 9 months ago) by douglas
Content type: text/x-c
File size: 547 byte(s)
Log Message:
Initial revision

File Contents

# Content
1 // Renegade Map Selector
2 //
3 // Douglas Thrift
4 //
5 // RenegadeConfig.h
6
7 #ifndef _RenegadeConfig_h_
8 #define _RenegadeConfig_h_
9
10 #include "CGIRenegadeMapSelector.h"
11
12 class RenegadeConfig
13 {
14 private:
15 string file;
16 bool linux;
17 stringstream text;
18 vector<string> maps;
19 public:
20 RenegadeConfig(const string& file)
21 {
22 this->file = "data/" + file;
23 linux = false;
24 }
25 ~RenegadeConfig() {}
26 bool load();
27 void save();
28 vector<string>& getMaps() { return maps; }
29 void setMaps(vector<string>& maps) { this->maps = maps; }
30 };
31
32 #endif // _RenegadeConfig_h_