ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/RenegadeMapSelector/RenegadeConfig.h
Revision: 68
Committed: 2003-03-11T17:16:41-08:00 (22 years, 3 months ago) by douglas
Content type: text/x-c
File size: 507 byte(s)
Log Message:
Did some more stuff.

File Contents

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