diff options
author | David Robillard <d@drobilla.net> | 2012-07-31 00:14:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-31 00:14:50 +0000 |
commit | 629fb50716083c71146340de97eb8651679ca9fb (patch) | |
tree | 9c5f25fdfd24f3cdb89924062f291a6647580878 /src/gui/App.hpp | |
parent | 6297b8805c95dd1831ee9a0b9639ae41d00a1473 (diff) | |
download | ingen-629fb50716083c71146340de97eb8651679ca9fb.tar.gz ingen-629fb50716083c71146340de97eb8651679ca9fb.tar.bz2 ingen-629fb50716083c71146340de97eb8651679ca9fb.zip |
Merge Ingen::Shared namespace into Ingen namespace and core libingen library.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4579 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/App.hpp')
-rw-r--r-- | src/gui/App.hpp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/gui/App.hpp b/src/gui/App.hpp index 1f611a13..5d93c805 100644 --- a/src/gui/App.hpp +++ b/src/gui/App.hpp @@ -27,7 +27,7 @@ #include <gtkmm/window.h> #include "ingen/Status.hpp" -#include "ingen/shared/World.hpp" +#include "ingen/World.hpp" #include "raul/Atom.hpp" #include "raul/Deletable.hpp" #include "raul/SharedPtr.hpp" @@ -36,9 +36,7 @@ namespace Ingen { class Interface; class Port; - namespace Shared { - class World; - } + class World; namespace Client { class ClientStore; class PatchModel; @@ -107,7 +105,7 @@ public: Glib::RefPtr<Gdk::Pixbuf> icon_from_path(const std::string& path, int size); - Ingen::Shared::Forge& forge() const { return _world->forge(); } + Ingen::Forge& forge() const { return _world->forge(); } SharedPtr<Ingen::Interface> interface() const { return _world->interface(); } SharedPtr<Client::SigClientInterface> client() const { return _client; } SharedPtr<Client::ClientStore> store() const { return _store; } @@ -115,11 +113,11 @@ public: SharedPtr<Serialisation::Serialiser> serialiser(); - static SharedPtr<App> create(Ingen::Shared::World* world); + static SharedPtr<App> create(Ingen::World* world); void run(); - inline Ingen::Shared::World* world() const { return _world; } - inline Ingen::Shared::URIs& uris() const { return _world->uris(); } + inline Ingen::World* world() const { return _world; } + inline Ingen::URIs& uris() const { return _world->uris(); } protected: @@ -137,7 +135,7 @@ protected: LexicalCompare<std::string, int> > Icons; Icons _icons; - explicit App(Ingen::Shared::World* world); + explicit App(Ingen::World* world); bool animate(); void response(int32_t id, Ingen::Status status, const std::string& subject); @@ -162,7 +160,7 @@ protected: Gtk::AboutDialog* _about_dialog; WindowFactory* _window_factory; - Ingen::Shared::World* _world; + Ingen::World* _world; uint32_t _sample_rate; |