From db9c67b9130d6d7eeb78a7d01289c5edaf2d5bfb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 21 Nov 2012 22:44:41 +0000 Subject: Trim dead code. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4845 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/Configuration.hpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'ingen') 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 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 -- cgit v1.2.1