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/progs/ingenuity/App.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/progs/ingenuity/App.h')
-rw-r--r-- | src/progs/ingenuity/App.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/progs/ingenuity/App.h b/src/progs/ingenuity/App.h index 553175fb..282958b9 100644 --- a/src/progs/ingenuity/App.h +++ b/src/progs/ingenuity/App.h @@ -25,7 +25,7 @@ #include <libgnomecanvasmm.h> #include <gtkmm.h> #include <libglademm.h> -#include <util/CountedPtr.h> +#include <raul/SharedPtr.h> using std::string; using std::map; using std::list; using std::cerr; using std::endl; @@ -80,8 +80,8 @@ public: int num_open_patch_windows(); - void attach(const CountedPtr<ModelEngineInterface>& engine, - const CountedPtr<SigClientInterface>& client); + void attach(const SharedPtr<ModelEngineInterface>& engine, + const SharedPtr<SigClientInterface>& client); ConnectWindow* connect_window() const { return _connect_window; } Gtk::Dialog* about_dialog() const { return _about_dialog; } @@ -93,8 +93,8 @@ public: Loader* loader() const { return _loader; } WindowFactory* window_factory() const { return _window_factory; } - const CountedPtr<ModelEngineInterface>& engine() const { return _engine; } - const CountedPtr<SigClientInterface>& client() const { return _client; } + const SharedPtr<ModelEngineInterface>& engine() const { return _engine; } + const SharedPtr<SigClientInterface>& client() const { return _client; } static inline App& instance() { assert(_instance); return *_instance; } static void instantiate(); @@ -103,8 +103,8 @@ protected: App(); static App* _instance; - CountedPtr<ModelEngineInterface> _engine; - CountedPtr<SigClientInterface> _client; + SharedPtr<ModelEngineInterface> _engine; + SharedPtr<SigClientInterface> _client; Store* _store; Loader* _loader; |