diff options
author | David Robillard <d@drobilla.net> | 2011-04-18 12:47:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-18 12:47:15 +0000 |
commit | 8ba6bb943889bfdd58cf4a971a152041c1199cfe (patch) | |
tree | 91fbe8577e6d01070aa81f532ddd8102db1476f5 /src/gui/App.hpp | |
parent | 3cd3bfe5079f84fafb7dc217f5393d6ba947109c (diff) | |
download | ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.gz ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.bz2 ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.zip |
Put engine code in new Ingen::Engine namespace.
Put core interfaces in Ingen namespace (not Ingen::Shared).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3159 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/App.hpp')
-rw-r--r-- | src/gui/App.hpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/gui/App.hpp b/src/gui/App.hpp index 5f68f12f..5a5fa0c2 100644 --- a/src/gui/App.hpp +++ b/src/gui/App.hpp @@ -30,12 +30,11 @@ #include "shared/World.hpp" namespace Ingen { - class Engine; + class ClientInterface; + class EngineInterface; + class Port; namespace Shared { - class EngineInterface; - class ClientInterface; class World; - class Port; } namespace Client { class ClientStore; @@ -63,11 +62,7 @@ class ThreadedLoader; class WindowFactory; class Port; -/** Singleton master class most everything is contained within. - * - * This is a horrible god-object, but it's shrinking in size as things are - * moved out. Hopefully it will go away entirely some day.. - * +/** Ingen Gtk Application. * \ingroup GUI */ class App @@ -90,7 +85,7 @@ public: void port_activity(Port* port); void activity_port_destroyed(Port* port); - bool can_control(const Shared::Port* port) const; + bool can_control(const Ingen::Port* port) const; bool signal() const { return _enable_signal; } bool disable_signals() { bool old = _enable_signal; _enable_signal = false; return old; } @@ -104,7 +99,7 @@ public: Glib::RefPtr<Gdk::Pixbuf> icon_from_path(const std::string& path, int size); - SharedPtr<Shared::EngineInterface> engine() const { return _world->engine(); } + SharedPtr<Ingen::EngineInterface> engine() const { return _world->engine(); } SharedPtr<Client::SigClientInterface> client() const { return _client; } SharedPtr<Client::ClientStore> store() const { return _store; } SharedPtr<ThreadedLoader> loader() const { return _loader; } |