summaryrefslogtreecommitdiffstats
path: root/src/client/PatchModel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
committerDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
commit9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 (patch)
tree089c1366a567dfbf88c0473288236b276ef24bf6 /src/client/PatchModel.cpp
parent987710474b824cb92d83ff6fa7a090f50e10756f (diff)
downloadingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.gz
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.bz2
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.zip
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/PatchModel.cpp')
-rw-r--r--src/client/PatchModel.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/client/PatchModel.cpp b/src/client/PatchModel.cpp
index 2a722293..9a8fd994 100644
--- a/src/client/PatchModel.cpp
+++ b/src/client/PatchModel.cpp
@@ -29,7 +29,6 @@ using namespace Raul;
namespace Ingen {
namespace Client {
-
void
PatchModel::add_child(SharedPtr<ObjectModel> c)
{
@@ -46,7 +45,6 @@ PatchModel::add_child(SharedPtr<ObjectModel> c)
signal_new_node.emit(nm);
}
-
bool
PatchModel::remove_child(SharedPtr<ObjectModel> o)
{
@@ -83,7 +81,6 @@ PatchModel::remove_child(SharedPtr<ObjectModel> o)
return true;
}
-
void
PatchModel::clear()
{
@@ -95,7 +92,6 @@ PatchModel::clear()
assert(_ports.empty());
}
-
SharedPtr<ConnectionModel>
PatchModel::get_connection(const Shared::Port* src_port, const Shared::Port* dst_port)
{
@@ -106,7 +102,6 @@ PatchModel::get_connection(const Shared::Port* src_port, const Shared::Port* dst
return SharedPtr<ConnectionModel>();
}
-
/** Add a connection to this patch.
*
* A reference to @a cm is taken, released on deletion or removal.
@@ -141,7 +136,6 @@ PatchModel::add_connection(SharedPtr<ConnectionModel> cm)
}
}
-
void
PatchModel::remove_connection(const Shared::Port* src_port, const Shared::Port* dst_port)
{
@@ -156,7 +150,6 @@ PatchModel::remove_connection(const Shared::Port* src_port, const Shared::Port*
}
}
-
bool
PatchModel::enabled() const
{
@@ -164,7 +157,6 @@ PatchModel::enabled() const
return (enabled.is_valid() && enabled.get_bool());
}
-
uint32_t
PatchModel::internal_poly() const
{
@@ -172,7 +164,6 @@ PatchModel::internal_poly() const
return poly.is_valid() ? poly.get_int32() : 1;
}
-
bool
PatchModel::polyphonic() const
{
@@ -180,6 +171,5 @@ PatchModel::polyphonic() const
return poly.is_valid() && poly.get_bool();
}
-
} // namespace Client
} // namespace Ingen