diff options
author | David Robillard <d@drobilla.net> | 2012-11-21 22:44:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-11-21 22:44:41 +0000 |
commit | db9c67b9130d6d7eeb78a7d01289c5edaf2d5bfb (patch) | |
tree | 3681a519d40e4f1bed441e4f3d7214badd651b36 /ingen | |
parent | ad3752a9029796b95230b323af138c075c9be93f (diff) | |
download | ingen-db9c67b9130d6d7eeb78a7d01289c5edaf2d5bfb.tar.gz ingen-db9c67b9130d6d7eeb78a7d01289c5edaf2d5bfb.tar.bz2 ingen-db9c67b9130d6d7eeb78a7d01289c5edaf2d5bfb.zip |
Trim dead code.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4845 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/Configuration.hpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ingen/Configuration.hpp b/ingen/Configuration.hpp index cdec5e4b..ba06ba33 100644 --- a/ingen/Configuration.hpp +++ b/ingen/Configuration.hpp @@ -76,8 +76,6 @@ public: std::list<std::string> load_default(const std::string& app, const std::string& file); - void print(std::ostream& os, const std::string mime_type="text/plain") const; - const Raul::Atom& option(const std::string& long_name) const; bool set(const std::string& long_name, const Raul::Atom& value); @@ -124,19 +122,5 @@ private: } // namespace Ingen -static inline std::ostream& -operator<<(std::ostream& os, const Raul::Atom& value) -{ - #if 0 - switch (value.type()) { - case Ingen::Configuration::NOTHING: return os << "(nil)"; - case Ingen::Configuration::INT: return os << value.get_int(); - case Ingen::Configuration::BOOL: return os << (value.get_bool() ? "true" : "false"); - case Ingen::Configuration::STRING: return os << value.get_string(); - } - #endif - return os; -} - #endif // INGEN_CONFIGURATION_HPP |