summaryrefslogtreecommitdiffstats
path: root/src/gui/App.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-24 23:29:42 +0000
committerDavid Robillard <d@drobilla.net>2011-05-24 23:29:42 +0000
commitacaab5ca7ce6869b8192de4f98c9f075fd17690e (patch)
tree731f14aa5cfb03e7f8837fe0c573b2b12ce7a8b4 /src/gui/App.cpp
parent881eac58c2f9bf1fcb18ef7dcda7ab025e327871 (diff)
downloadingen-acaab5ca7ce6869b8192de4f98c9f075fd17690e.tar.gz
ingen-acaab5ca7ce6869b8192de4f98c9f075fd17690e.tar.bz2
ingen-acaab5ca7ce6869b8192de4f98c9f075fd17690e.zip
Remove dependence on protocol-specific client headers in GUI code.
In other words, remove need for protocol-specific (and library dependent) headers to be in public headers... git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3318 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/App.cpp')
-rw-r--r--src/gui/App.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp
index 9d7fffc1..f1e590cb 100644
--- a/src/gui/App.cpp
+++ b/src/gui/App.cpp
@@ -150,8 +150,7 @@ App::run()
}
void
-App::attach(SharedPtr<SigClientInterface> client,
- SharedPtr<Raul::Deletable> handle)
+App::attach(SharedPtr<SigClientInterface> client)
{
assert(!_client);
assert(!_store);
@@ -160,7 +159,6 @@ App::attach(SharedPtr<SigClientInterface> client,
_world->engine()->register_client(client.get());
_client = client;
- _handle = handle;
_store = SharedPtr<ClientStore>(new ClientStore(_world->uris(), _world->engine(), client));
_loader = SharedPtr<ThreadedLoader>(new ThreadedLoader(_world->uris(), _world->engine()));
@@ -182,7 +180,6 @@ App::detach()
_loader.reset();
_store.reset();
_client.reset();
- _handle.reset();
_world->set_engine(SharedPtr<ServerInterface>());
}
}