summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/OmPort.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-11 03:17:16 +0000
committerDavid Robillard <d@drobilla.net>2006-06-11 03:17:16 +0000
commit228279d6717e69ffd2d2a886244179635ac27c2b (patch)
treed8a25007daeda686f07aefc8b5fcc9486040c536 /src/progs/gtk/OmPort.h
parent9a3d8d0604a2f81e3514e8a1a30aaf41aadf73a2 (diff)
downloadingen-228279d6717e69ffd2d2a886244179635ac27c2b.tar.gz
ingen-228279d6717e69ffd2d2a886244179635ac27c2b.tar.bz2
ingen-228279d6717e69ffd2d2a886244179635ac27c2b.zip
Got store working directly through SigClientInterface
git-svn-id: http://svn.drobilla.net/lad/grauph@22 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/gtk/OmPort.h')
-rw-r--r--src/progs/gtk/OmPort.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/progs/gtk/OmPort.h b/src/progs/gtk/OmPort.h
index 69a867d5..a4bd653e 100644
--- a/src/progs/gtk/OmPort.h
+++ b/src/progs/gtk/OmPort.h
@@ -20,6 +20,7 @@
#include <cassert>
#include <string>
#include <flowcanvas/Port.h>
+#include "util/CountedPtr.h"
namespace LibOmClient { class PortModel; }
using namespace LibOmClient;
@@ -41,16 +42,16 @@ class OmModule;
class OmPort : public LibFlowCanvas::Port
{
public:
- OmPort(OmModule* module, PortModel* pm);
+ OmPort(OmModule* module, CountedPtr<PortModel> pm);
virtual ~OmPort() {}
//void set_name(const string& n);
- PortModel* model() const { return m_port_model; }
+ CountedPtr<PortModel> model() const { return m_port_model; }
private:
- PortModel* m_port_model;
+ CountedPtr<PortModel> m_port_model;
};