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/PatchPortModule.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/PatchPortModule.h')
-rw-r--r-- | src/progs/ingenuity/PatchPortModule.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/progs/ingenuity/PatchPortModule.h b/src/progs/ingenuity/PatchPortModule.h index 3cf55192..89a9ce68 100644 --- a/src/progs/ingenuity/PatchPortModule.h +++ b/src/progs/ingenuity/PatchPortModule.h @@ -21,7 +21,7 @@ #include <boost/enable_shared_from_this.hpp> #include <libgnomecanvasmm.h> #include <flowcanvas/Module.h> -#include "util/Atom.h" +#include "raul/Atom.h" #include "Port.h" using std::string; @@ -48,7 +48,7 @@ class PatchPortModule : public LibFlowCanvas::Module//, public boost::enable_sha { public: static boost::shared_ptr<PatchPortModule> create (boost::shared_ptr<PatchCanvas> canvas, - CountedPtr<PortModel> port); + SharedPtr<PortModel> port); virtual ~PatchPortModule() {} @@ -56,17 +56,17 @@ public: //void on_right_click(GdkEventButton* event) { m_port->show_menu(event); } - CountedPtr<PortModel> port() const { return m_port; } + SharedPtr<PortModel> port() const { return m_port; } protected: - PatchPortModule(boost::shared_ptr<PatchCanvas> canvas, CountedPtr<PortModel> port); + PatchPortModule(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<PortModel> port); //virtual void on_double_click(GdkEventButton* ev) { show_control_window(); } //virtual void on_middle_click(GdkEventButton* ev) { show_control_window(); } void metadata_update(const string& key, const Atom& value); - CountedPtr<PortModel> m_port; + SharedPtr<PortModel> m_port; boost::shared_ptr<Port> m_patch_port; ///< Port on this 'anonymous' module }; |