diff options
author | David Robillard <d@drobilla.net> | 2011-10-22 03:08:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-22 03:08:06 +0000 |
commit | ac1d6d135bda8d739fdb8bf564f89c38b664c097 (patch) | |
tree | d750da79dd88b64ab2a88cca1651c2a5a240bd72 /src/gui/Configuration.hpp | |
parent | 143968e38cc2f058dd7c500e984904a39864d652 (diff) | |
download | ingen-ac1d6d135bda8d739fdb8bf564f89c38b664c097.tar.gz ingen-ac1d6d135bda8d739fdb8bf564f89c38b664c097.tar.bz2 ingen-ac1d6d135bda8d739fdb8bf564f89c38b664c097.zip |
De-singleton-ify GUI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3584 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/Configuration.hpp')
-rw-r--r-- | src/gui/Configuration.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/Configuration.hpp b/src/gui/Configuration.hpp index 6fe922d3..94bff71c 100644 --- a/src/gui/Configuration.hpp +++ b/src/gui/Configuration.hpp @@ -19,7 +19,9 @@ #define INGEN_GUI_CONFIGURATION_HPP #include <stdint.h> + #include <string> + #include "raul/SharedPtr.hpp" namespace Ingen { namespace Client { class PortModel; } } @@ -29,6 +31,7 @@ using std::string; namespace Ingen { namespace GUI { +class App; class Port; /** Singleton state manager for the entire app. @@ -41,7 +44,7 @@ class Port; class Configuration { public: - Configuration(); + Configuration(App& app); ~Configuration(); void load_settings(string filename = ""); @@ -60,6 +63,8 @@ public: void set_name_style(NameStyle s) { _name_style = s; } private: + App& _app; + /** Most recent patch folder shown in open dialog */ string _patch_folder; |