ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/RenegadeMapSelector/RenegadeConfig.h
(Generate patch)

Comparing trunk/RenegadeMapSelector/RenegadeConfig.h (file contents):
Revision 67 by douglas, 2003-03-11T15:50:44-08:00 vs.
Revision 68 by douglas, 2003-03-11T17:16:41-08:00

# Line 13 | Line 13 | class RenegadeConfig
13   {
14   private:
15          string file;
16 <        string text;
16 >        strstream text;
17 >        vector<string> maps;
18   public:
19 <        RenegadeConfig(const string& file) { this->file = file; }
19 >        RenegadeConfig(const string& file) { this->file = "data/" + file; }
20          ~RenegadeConfig() {}
21          bool load();
22 <        bool save();
22 >        void save();
23 >        vector<string>& getMaps() { return maps; }
24 >        void setMaps(vector<string>& maps) { this->maps = maps; }
25   };
26  
27   #endif // _RenegadeConfig_h_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines