summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PortModel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-08 17:59:56 +0000
committerDavid Robillard <d@drobilla.net>2007-10-08 17:59:56 +0000
commit91ca84684151a67b8e3e1e859b3167e9f687d4d4 (patch)
tree1751b6e4949b47d1880b4c569b6192fef392bfaf /src/libs/client/PortModel.cpp
parent507d9ffa4771978b6964b4c4b261ee923ba7e324 (diff)
downloadingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.tar.gz
ingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.tar.bz2
ingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.zip
s/MetadataMap/Variables/ etc.
Removed ancient/unused Controller.hpp. git-svn-id: http://svn.drobilla.net/lad/ingen@852 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/PortModel.cpp')
-rw-r--r--src/libs/client/PortModel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/client/PortModel.cpp b/src/libs/client/PortModel.cpp
index ed59c8ca..6b727747 100644
--- a/src/libs/client/PortModel.cpp
+++ b/src/libs/client/PortModel.cpp
@@ -25,7 +25,7 @@ namespace Client {
bool
PortModel::is_logarithmic() const
{
- const Atom& hint = get_metadata("ingen:logarithmic");
+ const Atom& hint = get_variable("ingen:logarithmic");
return (hint && hint > 0);
}
@@ -33,7 +33,7 @@ PortModel::is_logarithmic() const
bool
PortModel::is_integer() const
{
- const Atom& hint = get_metadata("ingen:integer");
+ const Atom& hint = get_variable("ingen:integer");
return (hint && hint > 0);
}
@@ -41,7 +41,7 @@ PortModel::is_integer() const
bool
PortModel::is_toggle() const
{
- const Atom& hint = get_metadata("ingen:toggled");
+ const Atom& hint = get_variable("ingen:toggled");
return (hint && hint > 0);
}