#ifndef USERSETTINGS_HPP #define USERSETTINGS_HPP #include #include #include #include #include #include "support.hpp" namespace Files { typedef std::vector PathContainer; struct ConfigurationManager;} class QFile; namespace CsSettings { class UserSettings { public: UserSettings(Files::ConfigurationManager &cfg); ~UserSettings(); QFile *openFile (const QString &); bool writeFile(QFile *file, QMap §ions); void getSettings (QTextStream &stream, SectionMap &settings); private: Files::ConfigurationManager &mCfgMgr; }; } #endif // USERSETTINGS_HPP