summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/App.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-19 02:33:04 +0000
committerDavid Robillard <d@drobilla.net>2008-08-19 02:33:04 +0000
commit14764da12f3808da0c40b643ac8224716f060729 (patch)
treedfb40da4d1a0c23c05923e78319aa95f172f9e57 /src/libs/gui/App.hpp
parent353944ee388081b5fa280847fb202a4f27c81735 (diff)
downloadingen-14764da12f3808da0c40b643ac8224716f060729.tar.gz
ingen-14764da12f3808da0c40b643ac8224716f060729.tar.bz2
ingen-14764da12f3808da0c40b643ac8224716f060729.zip
Remove weird virtual inheritance interface overlay thing from client in favour of wrappers.
git-svn-id: http://svn.drobilla.net/lad/ingen@1445 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/App.hpp')
-rw-r--r--src/libs/gui/App.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libs/gui/App.hpp b/src/libs/gui/App.hpp
index d4caef21..8d16a1c4 100644
--- a/src/libs/gui/App.hpp
+++ b/src/libs/gui/App.hpp
@@ -37,6 +37,7 @@ namespace Ingen {
class Engine;
namespace Shared {
class EngineInterface;
+ class ClientInterface;
class World;
}
namespace Client {
@@ -85,7 +86,9 @@ public:
void error_message(const string& msg);
- void attach(SharedPtr<SigClientInterface> client);
+ void attach(SharedPtr<SigClientInterface> client,
+ SharedPtr<Raul::Deletable> handle=SharedPtr<Raul::Deletable>());
+
void detach();
bool gtk_main_iteration();
@@ -106,7 +109,7 @@ public:
Glib::RefPtr<Gdk::Pixbuf> icon_from_path(const string& path, int size);
- const SharedPtr<EngineInterface> engine() const { return _world->engine; }
+ const SharedPtr<EngineInterface>& engine() const { return _world->engine; }
const SharedPtr<SigClientInterface>& client() const { return _client; }
const SharedPtr<ClientStore>& store() const { return _store; }
const SharedPtr<ThreadedLoader>& loader() const { return _loader; }
@@ -143,6 +146,7 @@ protected:
static App* _instance;
SharedPtr<SigClientInterface> _client;
+ SharedPtr<Raul::Deletable> _handle;
SharedPtr<ClientStore> _store;
SharedPtr<Serialiser> _serialiser;
SharedPtr<ThreadedLoader> _loader;