Page MenuHomePhabricator (Chris)

Config.h
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

Config.h

/** This file is part of Witch Blast.
*
* Witch Blast is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Witch Blast is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Witch Blast. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONFIG_H_INCLUDED
#define CONFIG_H_INCLUDED
#include <map>
#include "Constants.h"
using namespace std;
class Config
{
public:
Config();
void loadFromFile(string file);
void saveToFile(std::string file, std::map<std::string, std::string> newMap);
void displayMap();
int findInt(string key);
private:
std::map<std::string, std::string> configMap;
};
#endif // CONFIG_H_INCLUDED

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 1:36 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
130418
Default Alt Text
Config.h (1 KB)

Event Timeline