diff options
author | David Robillard <d@drobilla.net> | 2006-10-04 21:45:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-10-04 21:45:20 +0000 |
commit | 30cb85c307b4c1273791721a782337742ade222c (patch) | |
tree | 020932d6f50ebbcd813c58f6f23e85a293587665 /src/libs/engine/ClientBroadcaster.h | |
parent | 32261ba465be203f973a0e126672b8d7188ba327 (diff) | |
download | ingen-30cb85c307b4c1273791721a782337742ade222c.tar.gz ingen-30cb85c307b4c1273791721a782337742ade222c.tar.bz2 ingen-30cb85c307b4c1273791721a782337742ade222c.zip |
Moved generic utility stuff to new library "raul".
git-svn-id: http://svn.drobilla.net/lad/ingen@156 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/ClientBroadcaster.h')
-rw-r--r-- | src/libs/engine/ClientBroadcaster.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/engine/ClientBroadcaster.h b/src/libs/engine/ClientBroadcaster.h index 97f2abf2..529dffdb 100644 --- a/src/libs/engine/ClientBroadcaster.h +++ b/src/libs/engine/ClientBroadcaster.h @@ -25,7 +25,7 @@ #include <pthread.h> #include "types.h" #include "interface/ClientInterface.h" -#include "util/CountedPtr.h" +#include "raul/SharedPtr.h" using std::list; using std::string; using std::pair; @@ -55,10 +55,10 @@ using Shared::ClientInterface; class ClientBroadcaster { public: - void register_client(const ClientKey key, CountedPtr<ClientInterface> client); + void register_client(const ClientKey key, SharedPtr<ClientInterface> client); bool unregister_client(const ClientKey& key); - CountedPtr<ClientInterface> client(const ClientKey& key); + SharedPtr<ClientInterface> client(const ClientKey& key); // Notification band: @@ -88,10 +88,10 @@ public: void send_program_add(const string& node_path, int bank, int program, const string& name); void send_program_remove(const string& node_path, int bank, int program); - void send_plugins_to(CountedPtr<ClientInterface>, const list<Plugin*>& plugin_list); + void send_plugins_to(SharedPtr<ClientInterface>, const list<Plugin*>& plugin_list); private: - typedef list<pair<ClientKey, CountedPtr<ClientInterface> > > ClientList; + typedef list<pair<ClientKey, SharedPtr<ClientInterface> > > ClientList; //list<pair<ClientKey, ClientInterface* const> > _clients; ClientList _clients; }; |