summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-18 02:04:21 -0400
committerDavid Robillard <d@drobilla.net>2022-08-18 02:04:21 -0400
commit9994cdebb60ecffcf81ced46ccfd12968ea3b2da (patch)
treeeddf1322d05e407fa3b683fca25a6a150427ddba /include
parentc8152e8724c8e78fc53651f000a4e63aca945722 (diff)
downloadingen-9994cdebb60ecffcf81ced46ccfd12968ea3b2da.tar.gz
ingen-9994cdebb60ecffcf81ced46ccfd12968ea3b2da.tar.bz2
ingen-9994cdebb60ecffcf81ced46ccfd12968ea3b2da.zip
Use consistent spacing for line comments
Diffstat (limited to 'include')
-rw-r--r--include/ingen/AtomForge.hpp4
-rw-r--r--include/ingen/ColorContext.hpp4
-rw-r--r--include/ingen/Configuration.hpp6
-rw-r--r--include/ingen/Log.hpp2
-rw-r--r--include/ingen/Message.hpp4
-rw-r--r--include/ingen/Node.hpp2
-rw-r--r--include/ingen/Parser.hpp4
-rw-r--r--include/ingen/SocketReader.hpp4
-rw-r--r--include/ingen/SocketWriter.hpp4
-rw-r--r--include/ingen/StreamWriter.hpp4
-rw-r--r--include/ingen/TurtleWriter.hpp4
-rw-r--r--include/ingen/URI.hpp2
-rw-r--r--include/ingen/World.hpp4
-rw-r--r--include/ingen/client/PluginUI.hpp11
-rw-r--r--include/ingen/client/SocketClient.hpp6
15 files changed, 33 insertions, 32 deletions
diff --git a/include/ingen/AtomForge.hpp b/include/ingen/AtomForge.hpp
index 29e890c1..81f36b5b 100644
--- a/include/ingen/AtomForge.hpp
+++ b/include/ingen/AtomForge.hpp
@@ -121,6 +121,6 @@ private:
AtomPtr _buf; ///< Atom buffer
};
-} // namespace ingen
+} // namespace ingen
-#endif // INGEN_ATOMFORGE_HPP
+#endif // INGEN_ATOMFORGE_HPP
diff --git a/include/ingen/ColorContext.hpp b/include/ingen/ColorContext.hpp
index ea2303d2..f33b7e2c 100644
--- a/include/ingen/ColorContext.hpp
+++ b/include/ingen/ColorContext.hpp
@@ -35,6 +35,6 @@ private:
FILE* _stream;
};
-} // namespace ingen
+} // namespace ingen
-#endif // INGEN_COLORCONTEXT_HPP
+#endif // INGEN_COLORCONTEXT_HPP
diff --git a/include/ingen/Configuration.hpp b/include/ingen/Configuration.hpp
index c27a5063..3ab5c27b 100644
--- a/include/ingen/Configuration.hpp
+++ b/include/ingen/Configuration.hpp
@@ -47,9 +47,9 @@ public:
* This controls when and where an option will be saved or restored.
*/
enum Scope {
- GLOBAL = 1, ///< Applies to any Ingen instance
- SESSION = 1<<1, ///< Applies to this Ingen instance only
- GUI = 1<<2 ///< Persistent GUI settings saved at exit
+ GLOBAL = 1, ///< Applies to any Ingen instance
+ SESSION = 1 << 1, ///< Applies to this Ingen instance only
+ GUI = 1 << 2 ///< Persistent GUI settings saved at exit
};
/** Add a configuration option.
diff --git a/include/ingen/Log.hpp b/include/ingen/Log.hpp
index c8679087..8d1b420c 100644
--- a/include/ingen/Log.hpp
+++ b/include/ingen/Log.hpp
@@ -106,4 +106,4 @@ private:
} // namespace ingen
-#endif // INGEN_LOG_HPP
+#endif // INGEN_LOG_HPP
diff --git a/include/ingen/Message.hpp b/include/ingen/Message.hpp
index 6731ed67..ca618514 100644
--- a/include/ingen/Message.hpp
+++ b/include/ingen/Message.hpp
@@ -138,6 +138,6 @@ using Message = boost::variant<BundleBegin,
SetProperty,
Undo>;
-} // namespace ingen
+} // namespace ingen
-#endif // INGEN_MESSAGE_HPP
+#endif // INGEN_MESSAGE_HPP
diff --git a/include/ingen/Node.hpp b/include/ingen/Node.hpp
index 3733b51e..412dd64a 100644
--- a/include/ingen/Node.hpp
+++ b/include/ingen/Node.hpp
@@ -98,7 +98,7 @@ protected:
: Resource(uris, path_to_uri(path))
{}
- Arcs _arcs; ///< Graphs only
+ Arcs _arcs; ///< Graphs only
};
} // namespace ingen
diff --git a/include/ingen/Parser.hpp b/include/ingen/Parser.hpp
index c309eeff..599b8953 100644
--- a/include/ingen/Parser.hpp
+++ b/include/ingen/Parser.hpp
@@ -61,8 +61,8 @@ public:
return uri < r.uri;
}
- URI uri; ///< URI of resource (e.g. a Graph)
- FilePath filename; ///< Path of describing file (seeAlso)
+ URI uri; ///< URI of resource (e.g. a Graph)
+ FilePath filename; ///< Path of describing file (seeAlso)
};
/** Find all resources of a given type listed in a manifest file. */
diff --git a/include/ingen/SocketReader.hpp b/include/ingen/SocketReader.hpp
index 4d0d1fdd..5e7bc373 100644
--- a/include/ingen/SocketReader.hpp
+++ b/include/ingen/SocketReader.hpp
@@ -83,6 +83,6 @@ private:
std::thread _thread;
};
-} // namespace ingen
+} // namespace ingen
-#endif // INGEN_SOCKETREADER_HPP
+#endif // INGEN_SOCKETREADER_HPP
diff --git a/include/ingen/SocketWriter.hpp b/include/ingen/SocketWriter.hpp
index a0896ad9..7edaa13c 100644
--- a/include/ingen/SocketWriter.hpp
+++ b/include/ingen/SocketWriter.hpp
@@ -52,6 +52,6 @@ protected:
std::shared_ptr<raul::Socket> _socket;
};
-} // namespace ingen
+} // namespace ingen
-#endif // INGEN_SOCKETWRITER_HPP
+#endif // INGEN_SOCKETWRITER_HPP
diff --git a/include/ingen/StreamWriter.hpp b/include/ingen/StreamWriter.hpp
index 620497f8..9fafe571 100644
--- a/include/ingen/StreamWriter.hpp
+++ b/include/ingen/StreamWriter.hpp
@@ -47,6 +47,6 @@ protected:
ColorContext::Color _color;
};
-} // namespace ingen
+} // namespace ingen
-#endif // INGEN_STREAMWRITER_HPP
+#endif // INGEN_STREAMWRITER_HPP
diff --git a/include/ingen/TurtleWriter.hpp b/include/ingen/TurtleWriter.hpp
index b3d9f658..780d9f7b 100644
--- a/include/ingen/TurtleWriter.hpp
+++ b/include/ingen/TurtleWriter.hpp
@@ -64,6 +64,6 @@ protected:
bool _wrote_prefixes{false};
};
-} // namespace ingen
+} // namespace ingen
-#endif // INGEN_TURTLEWRITER_HPP
+#endif // INGEN_TURTLEWRITER_HPP
diff --git a/include/ingen/URI.hpp b/include/ingen/URI.hpp
index b8108224..ea57edca 100644
--- a/include/ingen/URI.hpp
+++ b/include/ingen/URI.hpp
@@ -173,4 +173,4 @@ operator<<(std::basic_ostream<Char, Traits>& os, const URI& uri)
} // namespace ingen
-#endif // INGEN_URI_HPP
+#endif // INGEN_URI_HPP
diff --git a/include/ingen/World.hpp b/include/ingen/World.hpp
index 5c8f1f72..8c1bef12 100644
--- a/include/ingen/World.hpp
+++ b/include/ingen/World.hpp
@@ -151,6 +151,6 @@ private:
Impl* _impl;
};
-} // namespace ingen
+} // namespace ingen
-#endif // INGEN_WORLD_HPP
+#endif // INGEN_WORLD_HPP
diff --git a/include/ingen/client/PluginUI.hpp b/include/ingen/client/PluginUI.hpp
index 6e7ea73f..b291d521 100644
--- a/include/ingen/client/PluginUI.hpp
+++ b/include/ingen/client/PluginUI.hpp
@@ -82,11 +82,12 @@ public:
* The application must connect to this signal to communicate with the
* engine and/or update itself as necessary.
*/
- INGEN_SIGNAL(property_changed, void,
- const URI&, // Subject
- const URI&, // Predicate
- const Atom&, // Object
- Resource::Graph) // Context
+ INGEN_SIGNAL(property_changed,
+ void,
+ const URI&, // Subject
+ const URI&, // Predicate
+ const Atom&, // Object
+ Resource::Graph) // Context
ingen::World& world() const { return _world; }
std::shared_ptr<const BlockModel> block() const { return _block; }
diff --git a/include/ingen/client/SocketClient.hpp b/include/ingen/client/SocketClient.hpp
index 0c823df5..0002c795 100644
--- a/include/ingen/client/SocketClient.hpp
+++ b/include/ingen/client/SocketClient.hpp
@@ -86,7 +86,7 @@ private:
SocketReader _reader;
};
-} // namespace client
-} // namespace ingen
+} // namespace client
+} // namespace ingen
-#endif // INGEN_CLIENT_SOCKET_CLIENT_HPP
+#endif // INGEN_CLIENT_SOCKET_CLIENT_HPP