summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ingen/DataAccess.hpp3
-rw-r--r--include/ingen/InstanceAccess.hpp3
-rw-r--r--include/ingen/Message.hpp48
-rw-r--r--include/ingen/Serialiser.hpp1
-rw-r--r--src/Serialiser.cpp3
-rw-r--r--src/gui/GraphTreeWindow.hpp3
-rw-r--r--src/server/LV2Block.hpp3
-rw-r--r--src/server/Load.hpp3
-rw-r--r--src/server/RunContext.cpp3
-rw-r--r--src/server/State.hpp3
10 files changed, 25 insertions, 48 deletions
diff --git a/include/ingen/DataAccess.hpp b/include/ingen/DataAccess.hpp
index 3ea70eff..59bd80f9 100644
--- a/include/ingen/DataAccess.hpp
+++ b/include/ingen/DataAccess.hpp
@@ -30,8 +30,7 @@
namespace ingen {
-struct DataAccess : public ingen::LV2Features::Feature
-{
+struct DataAccess : public ingen::LV2Features::Feature {
static void delete_feature(LV2_Feature* feature) {
free(feature->data);
delete feature;
diff --git a/include/ingen/InstanceAccess.hpp b/include/ingen/InstanceAccess.hpp
index e108d7d5..b3fcff35 100644
--- a/include/ingen/InstanceAccess.hpp
+++ b/include/ingen/InstanceAccess.hpp
@@ -28,8 +28,7 @@
namespace ingen {
-struct InstanceAccess : public ingen::LV2Features::Feature
-{
+struct InstanceAccess : public ingen::LV2Features::Feature {
const char* uri() const override { return "http://lv2plug.in/ns/ext/instance-access"; }
std::shared_ptr<LV2_Feature> feature(World& world, Node* node) override {
diff --git a/include/ingen/Message.hpp b/include/ingen/Message.hpp
index b7342eba..6731ed67 100644
--- a/include/ingen/Message.hpp
+++ b/include/ingen/Message.hpp
@@ -31,38 +31,32 @@
namespace ingen {
-struct BundleBegin
-{
+struct BundleBegin {
int32_t seq;
};
-struct BundleEnd
-{
+struct BundleEnd {
int32_t seq;
};
-struct Connect
-{
+struct Connect {
int32_t seq;
raul::Path tail;
raul::Path head;
};
-struct Copy
-{
+struct Copy {
int32_t seq;
URI old_uri;
URI new_uri;
};
-struct Del
-{
+struct Del {
int32_t seq;
URI uri;
};
-struct Delta
-{
+struct Delta {
int32_t seq;
URI uri;
Properties remove;
@@ -70,61 +64,52 @@ struct Delta
Resource::Graph ctx;
};
-struct Disconnect
-{
+struct Disconnect {
int32_t seq;
raul::Path tail;
raul::Path head;
};
-struct DisconnectAll
-{
+struct DisconnectAll {
int32_t seq;
raul::Path graph;
raul::Path path;
};
-struct Error
-{
+struct Error {
int32_t seq;
std::string message;
};
-struct Get
-{
+struct Get {
int32_t seq;
URI subject;
};
-struct Move
-{
+struct Move {
int32_t seq;
raul::Path old_path;
raul::Path new_path;
};
-struct Put
-{
+struct Put {
int32_t seq;
URI uri;
Properties properties;
Resource::Graph ctx;
};
-struct Redo
-{
+struct Redo {
int32_t seq;
};
-struct Response
-{
+struct Response {
int32_t id;
Status status;
std::string subject;
};
-struct SetProperty
-{
+struct SetProperty {
int32_t seq;
URI subject;
URI predicate;
@@ -132,8 +117,7 @@ struct SetProperty
Resource::Graph ctx;
};
-struct Undo
-{
+struct Undo {
int32_t seq;
};
diff --git a/include/ingen/Serialiser.hpp b/include/ingen/Serialiser.hpp
index 37eda462..f028ffe1 100644
--- a/include/ingen/Serialiser.hpp
+++ b/include/ingen/Serialiser.hpp
@@ -98,6 +98,7 @@ public:
private:
struct Impl;
+
std::unique_ptr<Impl> me;
};
diff --git a/src/Serialiser.cpp b/src/Serialiser.cpp
index b0d41dd2..21d8286f 100644
--- a/src/Serialiser.cpp
+++ b/src/Serialiser.cpp
@@ -53,8 +53,7 @@
namespace ingen {
-struct Serialiser::Impl
-{
+struct Serialiser::Impl {
explicit Impl(World& world)
: _root_path("/")
, _world(world)
diff --git a/src/gui/GraphTreeWindow.hpp b/src/gui/GraphTreeWindow.hpp
index 7c2a67b9..8534d66c 100644
--- a/src/gui/GraphTreeWindow.hpp
+++ b/src/gui/GraphTreeWindow.hpp
@@ -89,8 +89,7 @@ protected:
GraphTreeView* _graphs_treeview{nullptr};
- struct GraphTreeModelColumns : public Gtk::TreeModel::ColumnRecord
- {
+ struct GraphTreeModelColumns : public Gtk::TreeModel::ColumnRecord {
GraphTreeModelColumns() {
add(name_col);
add(enabled_col);
diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp
index ec0b863b..8e87acda 100644
--- a/src/server/LV2Block.hpp
+++ b/src/server/LV2Block.hpp
@@ -151,8 +151,7 @@ protected:
struct Response : public raul::Maid::Disposable
, public raul::Noncopyable
- , public boost::intrusive::slist_base_hook<>
- {
+ , public boost::intrusive::slist_base_hook<> {
inline Response(uint32_t s, const void* d)
: size(s)
, data(malloc(s))
diff --git a/src/server/Load.hpp b/src/server/Load.hpp
index f69d0659..4a30dd58 100644
--- a/src/server/Load.hpp
+++ b/src/server/Load.hpp
@@ -24,8 +24,7 @@
namespace ingen {
namespace server {
-struct Load
-{
+struct Load {
void update(uint64_t time, uint64_t available) {
const uint64_t load = time * 100 / available;
if (load < min) {
diff --git a/src/server/RunContext.cpp b/src/server/RunContext.cpp
index 05f57bf5..1e5b3657 100644
--- a/src/server/RunContext.cpp
+++ b/src/server/RunContext.cpp
@@ -40,8 +40,7 @@
namespace ingen {
namespace server {
-struct Notification
-{
+struct Notification {
explicit inline Notification(PortImpl* p = nullptr,
FrameTime f = 0,
LV2_URID k = 0,
diff --git a/src/server/State.hpp b/src/server/State.hpp
index b5a3f7c0..201c6b86 100644
--- a/src/server/State.hpp
+++ b/src/server/State.hpp
@@ -24,8 +24,7 @@
namespace ingen {
namespace server {
-struct StateDeleter
-{
+struct StateDeleter {
void operator()(LilvState* state) { lilv_state_free(state); }
};