]> Dogcows Code - chaz/yoink/blobdiff - src/moof/settings.hh
remove some unused stlplus modules
[chaz/yoink] / src / moof / settings.hh
index 4807eeb16d8745ddba02c0b2762172586cc7230f..c8459cf1ee4b69f9fc2c88c00aaba6f401fb4dbc 100644 (file)
@@ -1,13 +1,11 @@
 
-/*]  Copyright (c) 2009-2010, Charles McGarvey  [**************************
+/*]  Copyright (c) 2009-2011, Charles McGarvey  [*****************************
 **]  All rights reserved.
 *
-* vi:ts=4 sw=4 tw=75
-*
 * Distributable under the terms and conditions of the 2-clause BSD license;
 * see the file COPYING for a complete text of the license.
 *
-**************************************************************************/
+*****************************************************************************/
 
 #ifndef _MOOF_SETTINGS_HH_
 #define _MOOF_SETTINGS_HH_
@@ -33,7 +31,6 @@ class settings
 public:
 
        settings(int argc, char* argv[], const std::string& path);
-
        ~settings();
 
        void parse_args(int argc, char* argv[]);
@@ -41,7 +38,6 @@ public:
        void load_files(const std::string& path);
        void load_files(const std::vector<std::string>& path);
 
-
        /**
         * Remove all settings.
         */
@@ -50,7 +46,6 @@ public:
        void save_as(const std::string& path);
        void save() const;
 
-
        /**
         * Get a setting by name.
         * \param key The name of the setting.
@@ -60,15 +55,12 @@ public:
        template <class T>
        bool get(const std::string& key, T& value) const;
 
-
 private:
 
        mutable script  script_;
-
-       std::string             mUserFile;
+       std::string     userfile_;
 };
 
-
 template <class T>
 bool settings::get(const std::string& key, T& value) const
 {
This page took 0.01793 seconds and 4 git commands to generate.