From 394b01da8e26dbe1b6a0520944d954ca0b16b1b5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Sep 2018 17:31:12 +0200 Subject: Use lowercase namespace names --- ingen/Arc.hpp | 4 ++-- ingen/Atom.hpp | 4 ++-- ingen/AtomForgeSink.hpp | 4 ++-- ingen/AtomReader.hpp | 6 +++--- ingen/AtomSink.hpp | 4 ++-- ingen/AtomWriter.hpp | 4 ++-- ingen/ClashAvoider.hpp | 4 ++-- ingen/Clock.hpp | 4 ++-- ingen/ColorContext.hpp | 4 ++-- ingen/Configuration.hpp | 4 ++-- ingen/DataAccess.hpp | 6 +++--- ingen/EngineBase.hpp | 4 ++-- ingen/FilePath.hpp | 4 ++-- ingen/Forge.hpp | 6 +++--- ingen/InstanceAccess.hpp | 6 +++--- ingen/Interface.hpp | 4 ++-- ingen/LV2Features.hpp | 4 ++-- ingen/Library.hpp | 4 ++-- ingen/Log.hpp | 4 ++-- ingen/Message.hpp | 4 ++-- ingen/Module.hpp | 10 +++++----- ingen/Node.hpp | 4 ++-- ingen/Parser.hpp | 4 ++-- ingen/Properties.hpp | 4 ++-- ingen/QueuedInterface.hpp | 4 ++-- ingen/Resource.hpp | 4 ++-- ingen/Serialiser.hpp | 4 ++-- ingen/SocketReader.hpp | 4 ++-- ingen/SocketWriter.hpp | 4 ++-- ingen/Status.hpp | 4 ++-- ingen/Store.hpp | 4 ++-- ingen/StreamWriter.hpp | 4 ++-- ingen/Tee.hpp | 4 ++-- ingen/TurtleWriter.hpp | 4 ++-- ingen/URI.hpp | 4 ++-- ingen/URIMap.hpp | 4 ++-- ingen/URIs.hpp | 10 +++++----- ingen/World.hpp | 6 +++--- ingen/client/ArcModel.hpp | 8 ++++---- ingen/client/BlockModel.hpp | 8 ++++---- ingen/client/ClientStore.hpp | 8 ++++---- ingen/client/GraphModel.hpp | 16 ++++++++-------- ingen/client/ObjectModel.hpp | 8 ++++---- ingen/client/PluginModel.hpp | 14 +++++++------- ingen/client/PluginUI.hpp | 16 ++++++++-------- ingen/client/PortModel.hpp | 8 ++++---- ingen/client/SigClientInterface.hpp | 10 +++++----- ingen/client/SocketClient.hpp | 14 +++++++------- ingen/filesystem.hpp | 4 ++-- ingen/paths.hpp | 4 ++-- ingen/runtime_paths.hpp | 4 ++-- ingen/types.hpp | 4 ++-- 52 files changed, 150 insertions(+), 150 deletions(-) (limited to 'ingen') diff --git a/ingen/Arc.hpp b/ingen/Arc.hpp index 043ffc0b..62c95d67 100644 --- a/ingen/Arc.hpp +++ b/ingen/Arc.hpp @@ -22,7 +22,7 @@ namespace Raul { class Path; } -namespace Ingen { +namespace ingen { /** A connection between two ports. * @@ -35,6 +35,6 @@ public: virtual const Raul::Path& head_path() const = 0; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ARC_HPP diff --git a/ingen/Atom.hpp b/ingen/Atom.hpp index 222023bc..86528ea1 100644 --- a/ingen/Atom.hpp +++ b/ingen/Atom.hpp @@ -27,7 +27,7 @@ #include "lv2/atom/atom.h" #include "lv2/urid/urid.h" -namespace Ingen { +namespace ingen { /** A generic typed data container. @@ -173,6 +173,6 @@ private: } _body; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ATOM_HPP diff --git a/ingen/AtomForgeSink.hpp b/ingen/AtomForgeSink.hpp index 93476d1c..14ff3a4c 100644 --- a/ingen/AtomForgeSink.hpp +++ b/ingen/AtomForgeSink.hpp @@ -26,7 +26,7 @@ #include "lv2/atom/forge.h" #include "lv2/atom/util.h" -namespace Ingen { +namespace ingen { /** A resizing sink for LV2_Atom_Forge. */ class AtomForgeSink @@ -97,6 +97,6 @@ private: LV2_Atom* _buf; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ATOMFORGESINK_HPP diff --git a/ingen/AtomReader.hpp b/ingen/AtomReader.hpp index a53d5094..79a08288 100644 --- a/ingen/AtomReader.hpp +++ b/ingen/AtomReader.hpp @@ -30,7 +30,7 @@ namespace Raul { class Path; } -namespace Ingen { +namespace ingen { class URI; class Atom; @@ -63,7 +63,7 @@ private: Resource::Graph atom_to_context(const LV2_Atom* atom); void get_props(const LV2_Atom_Object* obj, - Ingen::Properties& props); + ingen::Properties& props); URIMap& _map; URIs& _uris; @@ -71,6 +71,6 @@ private: Interface& _iface; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ATOMREADER_HPP diff --git a/ingen/AtomSink.hpp b/ingen/AtomSink.hpp index 02f90164..70c7f730 100644 --- a/ingen/AtomSink.hpp +++ b/ingen/AtomSink.hpp @@ -22,7 +22,7 @@ #include "ingen/ingen.h" #include "lv2/atom/atom.h" -namespace Ingen { +namespace ingen { /** A sink for LV2 Atoms. * @ingroup IngenShared @@ -42,6 +42,6 @@ public: virtual bool write(const LV2_Atom* msg, int32_t default_id=0) = 0; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ATOMSINK_HPP diff --git a/ingen/AtomWriter.hpp b/ingen/AtomWriter.hpp index 382bfe32..bb6ab921 100644 --- a/ingen/AtomWriter.hpp +++ b/ingen/AtomWriter.hpp @@ -30,7 +30,7 @@ namespace Raul { class Path; } -namespace Ingen { +namespace ingen { class AtomSink; class URIMap; @@ -81,6 +81,6 @@ private: LV2_Atom_Forge _forge; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ATOMWRITER_HPP diff --git a/ingen/ClashAvoider.hpp b/ingen/ClashAvoider.hpp index 069c8fef..23656349 100644 --- a/ingen/ClashAvoider.hpp +++ b/ingen/ClashAvoider.hpp @@ -22,7 +22,7 @@ #include "ingen/ingen.h" #include "raul/Path.hpp" -namespace Ingen { +namespace ingen { class Store; class URI; @@ -50,6 +50,6 @@ private: SymbolMap _symbol_map; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_CLASHAVOIDER_HPP diff --git a/ingen/Clock.hpp b/ingen/Clock.hpp index 69d5eb17..e746bde5 100644 --- a/ingen/Clock.hpp +++ b/ingen/Clock.hpp @@ -27,7 +27,7 @@ # include #endif -namespace Ingen { +namespace ingen { class Clock { public: @@ -58,6 +58,6 @@ private: #endif }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ENGINE_CLOCK_HPP diff --git a/ingen/ColorContext.hpp b/ingen/ColorContext.hpp index 81e0e062..46e291a3 100644 --- a/ingen/ColorContext.hpp +++ b/ingen/ColorContext.hpp @@ -19,7 +19,7 @@ #include -namespace Ingen { +namespace ingen { class ColorContext { public: @@ -32,6 +32,6 @@ private: FILE* _stream; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_COLORCONTEXT_HPP diff --git a/ingen/Configuration.hpp b/ingen/Configuration.hpp index 0f9b3a02..65b08529 100644 --- a/ingen/Configuration.hpp +++ b/ingen/Configuration.hpp @@ -28,7 +28,7 @@ #include "lv2/urid/urid.h" #include "raul/Exception.hpp" -namespace Ingen { +namespace ingen { class FilePath; class Forge; @@ -155,6 +155,6 @@ private: size_t _max_name_length; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_CONFIGURATION_HPP diff --git a/ingen/DataAccess.hpp b/ingen/DataAccess.hpp index 32ca9ead..fb3e3a79 100644 --- a/ingen/DataAccess.hpp +++ b/ingen/DataAccess.hpp @@ -30,9 +30,9 @@ #include "lv2/core/lv2.h" #include "lv2/data-access/data-access.h" -namespace Ingen { +namespace ingen { -struct DataAccess : public Ingen::LV2Features::Feature +struct DataAccess : public ingen::LV2Features::Feature { static void delete_feature(LV2_Feature* feature) { free(feature->data); @@ -63,6 +63,6 @@ struct DataAccess : public Ingen::LV2Features::Feature } }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ENGINE_DATAACCESS_HPP diff --git a/ingen/EngineBase.hpp b/ingen/EngineBase.hpp index 00436c66..aa3d5573 100644 --- a/ingen/EngineBase.hpp +++ b/ingen/EngineBase.hpp @@ -24,7 +24,7 @@ #include "ingen/ingen.h" #include "ingen/types.hpp" -namespace Ingen { +namespace ingen { class Interface; @@ -140,6 +140,6 @@ public: virtual bool unregister_client(SPtr client) = 0; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ENGINEBASE_HPP diff --git a/ingen/FilePath.hpp b/ingen/FilePath.hpp index 6bdd6044..c174f15b 100644 --- a/ingen/FilePath.hpp +++ b/ingen/FilePath.hpp @@ -27,7 +27,7 @@ #define USE_WINDOWS_FILE_PATHS 1 #endif -namespace Ingen { +namespace ingen { /** A path to a file. * @@ -118,6 +118,6 @@ operator<<(std::basic_ostream& os, const FilePath& path) return os << path.string(); } -} // namespace Ingen +} // namespace ingen #endif // INGEN_FILE_PATH_HPP diff --git a/ingen/Forge.hpp b/ingen/Forge.hpp index 77f399c8..139211e4 100644 --- a/ingen/Forge.hpp +++ b/ingen/Forge.hpp @@ -25,7 +25,7 @@ #include "ingen/ingen.h" #include "lv2/atom/forge.h" -namespace Ingen { +namespace ingen { class URIMap; class URI; @@ -53,7 +53,7 @@ public: Atom make_urid(int32_t v) { return Atom(sizeof(int32_t), URID, &v); } - Atom make_urid(const Ingen::URI& u); + Atom make_urid(const ingen::URI& u); Atom alloc(uint32_t size, uint32_t type, const void* val) { return Atom(size, type, val); @@ -81,6 +81,6 @@ private: URIMap& _map; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_FORGE_HPP diff --git a/ingen/InstanceAccess.hpp b/ingen/InstanceAccess.hpp index 13ad1f12..85fdae16 100644 --- a/ingen/InstanceAccess.hpp +++ b/ingen/InstanceAccess.hpp @@ -28,9 +28,9 @@ #include "lv2/core/lv2.h" -namespace Ingen { +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"; } @@ -51,6 +51,6 @@ struct InstanceAccess : public Ingen::LV2Features::Feature } }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ENGINE_INSTANCEACCESS_HPP diff --git a/ingen/Interface.hpp b/ingen/Interface.hpp index a6654afe..2af4eb76 100644 --- a/ingen/Interface.hpp +++ b/ingen/Interface.hpp @@ -35,7 +35,7 @@ namespace Raul { class Path; } -namespace Ingen { +namespace ingen { class Atom; class URI; @@ -144,6 +144,6 @@ private: int32_t _seq; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_INTERFACE_HPP diff --git a/ingen/LV2Features.hpp b/ingen/LV2Features.hpp index 4834b10a..541af576 100644 --- a/ingen/LV2Features.hpp +++ b/ingen/LV2Features.hpp @@ -26,7 +26,7 @@ #include "lv2/core/lv2.h" #include "raul/Noncopyable.hpp" -namespace Ingen { +namespace ingen { class Node; class World; @@ -90,6 +90,6 @@ private: Features _features; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_LV2FEATURES_HPP diff --git a/ingen/Library.hpp b/ingen/Library.hpp index 71257900..9b7184e5 100644 --- a/ingen/Library.hpp +++ b/ingen/Library.hpp @@ -20,7 +20,7 @@ #include "ingen/FilePath.hpp" #include "ingen/ingen.h" -namespace Ingen { +namespace ingen { /** A dynamically loaded library (module, plugin). */ class INGEN_API Library { @@ -43,6 +43,6 @@ private: void* _lib; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_LIBRARY_HPP diff --git a/ingen/Log.hpp b/ingen/Log.hpp index 5cd5e0f7..ed964447 100644 --- a/ingen/Log.hpp +++ b/ingen/Log.hpp @@ -30,7 +30,7 @@ #include "lv2/log/log.h" #include "lv2/urid/urid.h" -namespace Ingen { +namespace ingen { typedef boost::basic_format fmt; @@ -83,6 +83,6 @@ private: bool _trace; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_LOG_HPP diff --git a/ingen/Message.hpp b/ingen/Message.hpp index 515a2e1f..d4423a2e 100644 --- a/ingen/Message.hpp +++ b/ingen/Message.hpp @@ -28,7 +28,7 @@ #include "ingen/Status.hpp" #include "raul/Path.hpp" -namespace Ingen { +namespace ingen { struct BundleBegin { @@ -153,6 +153,6 @@ using Message = boost::variant; -} // namespace Ingen +} // namespace ingen #endif // INGEN_MESSAGE_HPP diff --git a/ingen/Module.hpp b/ingen/Module.hpp index df47b70b..405f4fa1 100644 --- a/ingen/Module.hpp +++ b/ingen/Module.hpp @@ -23,7 +23,7 @@ #include "ingen/Library.hpp" #include "ingen/ingen.h" -namespace Ingen { +namespace ingen { class World; @@ -40,8 +40,8 @@ public: Module(const Module&) = delete; Module& operator=(const Module&) = delete; - virtual void load(Ingen::World* world) = 0; - virtual void run(Ingen::World* world) {} + virtual void load(ingen::World* world) = 0; + virtual void run(ingen::World* world) {} /** Library implementing this module. * @@ -52,12 +52,12 @@ public: std::unique_ptr library; }; -} // namespace Ingen +} // namespace ingen extern "C" { /** Prototype for the ingen_module_load() entry point in an ingen module. */ -INGEN_API Ingen::Module* ingen_module_load(); +INGEN_API ingen::Module* ingen_module_load(); } diff --git a/ingen/Node.hpp b/ingen/Node.hpp index ca78aa3d..90a6e53f 100644 --- a/ingen/Node.hpp +++ b/ingen/Node.hpp @@ -33,7 +33,7 @@ class Path; class Symbol; } -namespace Ingen { +namespace ingen { class Arc; class FilePath; @@ -101,6 +101,6 @@ protected: Arcs _arcs; ///< Graphs only }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_NODE_HPP diff --git a/ingen/Parser.hpp b/ingen/Parser.hpp index 5a361cd3..4f7500f5 100644 --- a/ingen/Parser.hpp +++ b/ingen/Parser.hpp @@ -32,7 +32,7 @@ namespace Sord { class World; } -namespace Ingen { +namespace ingen { class Interface; class World; @@ -94,6 +94,6 @@ public: boost::optional data = boost::optional()); }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_PARSER_HPP diff --git a/ingen/Properties.hpp b/ingen/Properties.hpp index e148c542..d3237cd2 100644 --- a/ingen/Properties.hpp +++ b/ingen/Properties.hpp @@ -24,7 +24,7 @@ #include "ingen/Atom.hpp" #include "ingen/URIs.hpp" -namespace Ingen { +namespace ingen { /** A property value (an Atom with a context). */ class Property : public Atom { @@ -85,6 +85,6 @@ public: } }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_PROPERTIES_HPP diff --git a/ingen/QueuedInterface.hpp b/ingen/QueuedInterface.hpp index bf424edd..5c413a42 100644 --- a/ingen/QueuedInterface.hpp +++ b/ingen/QueuedInterface.hpp @@ -23,7 +23,7 @@ #include "ingen/Interface.hpp" #include "ingen/Message.hpp" -namespace Ingen { +namespace ingen { /** Stores all messages and emits them to a sink on demand. * @@ -61,6 +61,6 @@ private: std::vector _messages; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ENGINE_QUEUEDINTERFACE_HPP diff --git a/ingen/Resource.hpp b/ingen/Resource.hpp index 9fc854c7..94d92e12 100644 --- a/ingen/Resource.hpp +++ b/ingen/Resource.hpp @@ -26,7 +26,7 @@ #include "ingen/ingen.h" #include "raul/Deletable.hpp" -namespace Ingen { +namespace ingen { class Atom; @@ -200,6 +200,6 @@ private: mutable Properties _properties; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_RESOURCE_HPP diff --git a/ingen/Serialiser.hpp b/ingen/Serialiser.hpp index fcfb40a7..824d96b5 100644 --- a/ingen/Serialiser.hpp +++ b/ingen/Serialiser.hpp @@ -26,7 +26,7 @@ namespace Raul { class Path; } -namespace Ingen { +namespace ingen { class Arc; class Node; @@ -98,6 +98,6 @@ private: Impl* me; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_SERIALISER_HPP diff --git a/ingen/SocketReader.hpp b/ingen/SocketReader.hpp index 37ec8567..f55f5676 100644 --- a/ingen/SocketReader.hpp +++ b/ingen/SocketReader.hpp @@ -26,7 +26,7 @@ namespace Raul { class Socket; } -namespace Ingen { +namespace ingen { class Interface; class World; @@ -73,6 +73,6 @@ private: std::thread _thread; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_SOCKET_READER_HPP diff --git a/ingen/SocketWriter.hpp b/ingen/SocketWriter.hpp index 1dcc077b..4d7247da 100644 --- a/ingen/SocketWriter.hpp +++ b/ingen/SocketWriter.hpp @@ -27,7 +27,7 @@ namespace Raul { class Socket; } -namespace Ingen { +namespace ingen { class URI; class URIMap; @@ -52,6 +52,6 @@ protected: SPtr _socket; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_SOCKET_WRITER_HPP diff --git a/ingen/Status.hpp b/ingen/Status.hpp index c1002a17..c4ffd4c9 100644 --- a/ingen/Status.hpp +++ b/ingen/Status.hpp @@ -17,7 +17,7 @@ #ifndef INGEN_STATUS_HPP #define INGEN_STATUS_HPP -namespace Ingen { +namespace ingen { enum class Status { SUCCESS, @@ -87,6 +87,6 @@ ingen_status_string(Status st) return "Unknown error"; } -} // namespace Ingen +} // namespace ingen #endif // INGEN_STATUS_HPP diff --git a/ingen/Store.hpp b/ingen/Store.hpp index 52c9012b..0607eefa 100644 --- a/ingen/Store.hpp +++ b/ingen/Store.hpp @@ -30,7 +30,7 @@ namespace Raul { class Symbol; } -namespace Ingen { +namespace ingen { class Node; @@ -84,6 +84,6 @@ private: Mutex _mutex; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_STORE_HPP diff --git a/ingen/StreamWriter.hpp b/ingen/StreamWriter.hpp index 66a03216..9059ccdc 100644 --- a/ingen/StreamWriter.hpp +++ b/ingen/StreamWriter.hpp @@ -23,7 +23,7 @@ #include "ingen/ColorContext.hpp" #include "ingen/TurtleWriter.hpp" -namespace Ingen { +namespace ingen { class URI; class URIMap; @@ -47,6 +47,6 @@ protected: ColorContext::Color _color; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_STREAMWRITER_HPP diff --git a/ingen/Tee.hpp b/ingen/Tee.hpp index 2a6f00df..37c0870c 100644 --- a/ingen/Tee.hpp +++ b/ingen/Tee.hpp @@ -26,7 +26,7 @@ #include "ingen/Message.hpp" #include "ingen/types.hpp" -namespace Ingen { +namespace ingen { /** Interface that forwards all calls to several sinks. */ class Tee : public Interface @@ -58,6 +58,6 @@ private: Sinks _sinks; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_ENGINE_TEE_HPP diff --git a/ingen/TurtleWriter.hpp b/ingen/TurtleWriter.hpp index 6c44647f..6e21072f 100644 --- a/ingen/TurtleWriter.hpp +++ b/ingen/TurtleWriter.hpp @@ -27,7 +27,7 @@ #include "serd/serd.h" #include "sratom/sratom.h" -namespace Ingen { +namespace ingen { class URIMap; class URIs; @@ -63,6 +63,6 @@ protected: bool _wrote_prefixes; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_TURTLE_WRITER_HPP diff --git a/ingen/URI.hpp b/ingen/URI.hpp index 3c6d38d1..128155e7 100644 --- a/ingen/URI.hpp +++ b/ingen/URI.hpp @@ -27,7 +27,7 @@ #include "serd/serd.h" #include "sord/sordmm.hpp" -namespace Ingen { +namespace ingen { class INGEN_API URI { @@ -155,6 +155,6 @@ operator<<(std::basic_ostream& os, const URI& uri) return os << uri.string(); } -} // namespace Ingen +} // namespace ingen #endif // INGEN_URI_HPP diff --git a/ingen/URIMap.hpp b/ingen/URIMap.hpp index 0d89b800..1dbb950c 100644 --- a/ingen/URIMap.hpp +++ b/ingen/URIMap.hpp @@ -31,7 +31,7 @@ #include "lv2/urid/urid.h" #include "raul/Noncopyable.hpp" -namespace Ingen { +namespace ingen { class Log; class Node; @@ -95,6 +95,6 @@ private: std::vector _unmap; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_URIMAP_HPP diff --git a/ingen/URIs.hpp b/ingen/URIs.hpp index a4fc3744..eb657473 100644 --- a/ingen/URIs.hpp +++ b/ingen/URIs.hpp @@ -24,7 +24,7 @@ #include "lv2/urid/urid.h" #include "raul/Noncopyable.hpp" -namespace Ingen { +namespace ingen { class Forge; class URIMap; @@ -39,10 +39,10 @@ class URIMap; */ class INGEN_API URIs : public Raul::Noncopyable { public: - URIs(Ingen::Forge& forge, URIMap* map, LilvWorld* lworld); + URIs(ingen::Forge& forge, URIMap* map, LilvWorld* lworld); struct Quark : public URI { - Quark(Ingen::Forge& forge, + Quark(ingen::Forge& forge, URIMap* map, LilvWorld* lworld, const char* str); @@ -60,7 +60,7 @@ public: LilvNode* lnode; }; - Ingen::Forge& forge; + ingen::Forge& forge; const Quark atom_AtomPort; const Quark atom_Bool; @@ -229,6 +229,6 @@ operator!=(const URIs::Quark& lhs, const Atom& rhs) return !(lhs == rhs); } -} // namespace Ingen +} // namespace ingen #endif // INGEN_URIS_HPP diff --git a/ingen/World.hpp b/ingen/World.hpp index ac6b5628..fcaf0db5 100644 --- a/ingen/World.hpp +++ b/ingen/World.hpp @@ -30,7 +30,7 @@ typedef struct LilvWorldImpl LilvWorld; namespace Sord { class World; } -namespace Ingen { +namespace ingen { class Configuration; class EngineBase; @@ -130,7 +130,7 @@ public: virtual LilvWorld* lilv_world(); virtual LV2Features& lv2_features(); - virtual Ingen::Forge& forge(); + virtual ingen::Forge& forge(); virtual URIMap& uri_map(); virtual URIs& uris(); @@ -145,6 +145,6 @@ private: Impl* _impl; }; -} // namespace Ingen +} // namespace ingen #endif // INGEN_WORLD_HPP diff --git a/ingen/client/ArcModel.hpp b/ingen/client/ArcModel.hpp index 8b129a00..84b989a0 100644 --- a/ingen/client/ArcModel.hpp +++ b/ingen/client/ArcModel.hpp @@ -26,8 +26,8 @@ #include "ingen/client/PortModel.hpp" #include "ingen/ingen.h" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { class ClientStore; @@ -62,7 +62,7 @@ private: const SPtr _head; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_ARCMODEL_HPP diff --git a/ingen/client/BlockModel.hpp b/ingen/client/BlockModel.hpp index 38e8987e..da1da734 100644 --- a/ingen/client/BlockModel.hpp +++ b/ingen/client/BlockModel.hpp @@ -30,11 +30,11 @@ namespace Raul { class Path; } -namespace Ingen { +namespace ingen { class URIs; -namespace Client { +namespace client { class PluginModel; class ClientStore; @@ -112,7 +112,7 @@ private: mutable float* _max_values; ///< Port max values (cached for LV2) }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_BLOCKMODEL_HPP diff --git a/ingen/client/ClientStore.hpp b/ingen/client/ClientStore.hpp index 797052ef..0d7cb185 100644 --- a/ingen/client/ClientStore.hpp +++ b/ingen/client/ClientStore.hpp @@ -30,13 +30,13 @@ namespace Raul { class Atom; } -namespace Ingen { +namespace ingen { class Log; class Node; class URIs; -namespace Client { +namespace client { class BlockModel; class GraphModel; @@ -121,7 +121,7 @@ private: SPtr _plugins; ///< Map, keyed by plugin URI }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_CLIENTSTORE_HPP diff --git a/ingen/client/GraphModel.hpp b/ingen/client/GraphModel.hpp index ef072d87..d5f4904a 100644 --- a/ingen/client/GraphModel.hpp +++ b/ingen/client/GraphModel.hpp @@ -21,8 +21,8 @@ #include "ingen/ingen.h" #include "ingen/types.hpp" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { class ArcModel; class ClientStore; @@ -38,8 +38,8 @@ public: GraphType graph_type() const { return Node::GraphType::GRAPH; } - SPtr get_arc(const Ingen::Node* tail, - const Ingen::Node* head); + SPtr get_arc(const ingen::Node* tail, + const ingen::Node* head); bool enabled() const; bool polyphonic() const; @@ -64,11 +64,11 @@ private: void remove_arcs_on(SPtr p); void add_arc(SPtr arc); - void remove_arc(const Ingen::Node* tail, - const Ingen::Node* head); + void remove_arc(const ingen::Node* tail, + const ingen::Node* head); }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_GRAPHMODEL_HPP diff --git a/ingen/client/ObjectModel.hpp b/ingen/client/ObjectModel.hpp index a5a68f1e..62b115e3 100644 --- a/ingen/client/ObjectModel.hpp +++ b/ingen/client/ObjectModel.hpp @@ -33,11 +33,11 @@ #include "ingen/client/signal.hpp" #include "ingen/ingen.h" -namespace Ingen { +namespace ingen { class URIs; -namespace Client { +namespace client { class ClientStore; @@ -97,7 +97,7 @@ private: Raul::Symbol _symbol; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_OBJECTMODEL_HPP diff --git a/ingen/client/PluginModel.hpp b/ingen/client/PluginModel.hpp index 61de0f1a..381d289b 100644 --- a/ingen/client/PluginModel.hpp +++ b/ingen/client/PluginModel.hpp @@ -32,11 +32,11 @@ #include "raul/Symbol.hpp" #include "sord/sordmm.hpp" -namespace Ingen { +namespace ingen { class URIs; -namespace Client { +namespace client { class GraphModel; class BlockModel; @@ -46,13 +46,13 @@ class PluginUI; * * @ingroup IngenClient */ -class INGEN_API PluginModel : public Ingen::Resource +class INGEN_API PluginModel : public ingen::Resource { public: PluginModel(URIs& uris, const URI& uri, const Atom& type, - const Ingen::Properties& properties); + const ingen::Properties& properties); const Atom& type() const { return _type; } @@ -83,7 +83,7 @@ public: bool has_ui() const; - SPtr ui(Ingen::World* world, + SPtr ui(ingen::World* world, SPtr block) const; std::string documentation(bool html) const; @@ -122,7 +122,7 @@ private: bool _fetched; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_PLUGINMODEL_HPP diff --git a/ingen/client/PluginUI.hpp b/ingen/client/PluginUI.hpp index a98df61d..6a6d6db9 100644 --- a/ingen/client/PluginUI.hpp +++ b/ingen/client/PluginUI.hpp @@ -25,12 +25,12 @@ #include "lilv/lilv.h" #include "suil/suil.h" -namespace Ingen { +namespace ingen { class Interface; class World; -namespace Client { +namespace client { class BlockModel; @@ -48,7 +48,7 @@ public: * connected first. The caller should connect to signal_property_changed, * then call instantiate(). */ - static SPtr create(Ingen::World* world, + static SPtr create(ingen::World* world, SPtr block, const LilvPlugin* plugin); @@ -81,17 +81,17 @@ public: const Atom&, // Object Resource::Graph); // Context - Ingen::World* world() const { return _world; } + ingen::World* world() const { return _world; } SPtr block() const { return _block; } private: - PluginUI(Ingen::World* world, + PluginUI(ingen::World* world, SPtr block, LilvUIs* uis, const LilvUI* ui, const LilvNode* ui_type); - Ingen::World* _world; + ingen::World* _world; SPtr _block; SuilInstance* _instance; LilvUIs* _uis; @@ -105,7 +105,7 @@ private: SPtr _features; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_PLUGINUI_HPP diff --git a/ingen/client/PortModel.hpp b/ingen/client/PortModel.hpp index 3634d31f..a544b00b 100644 --- a/ingen/client/PortModel.hpp +++ b/ingen/client/PortModel.hpp @@ -28,8 +28,8 @@ namespace Raul { class Path; } -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { /** Model of a port. * @@ -91,7 +91,7 @@ private: Direction _direction; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_PORTMODEL_HPP diff --git a/ingen/client/SigClientInterface.hpp b/ingen/client/SigClientInterface.hpp index 8ac8dca4..461a7470 100644 --- a/ingen/client/SigClientInterface.hpp +++ b/ingen/client/SigClientInterface.hpp @@ -26,8 +26,8 @@ #include "ingen/client/signal.hpp" #include "ingen/ingen.h" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { /** A LibSigC++ signal emitting interface for clients to use. * @@ -39,7 +39,7 @@ namespace Client { * * @ingroup IngenClient */ -class INGEN_API SigClientInterface : public Ingen::Interface, +class INGEN_API SigClientInterface : public ingen::Interface, public INGEN_TRACKABLE { public: @@ -58,7 +58,7 @@ protected: } }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif diff --git a/ingen/client/SocketClient.hpp b/ingen/client/SocketClient.hpp index 8236200b..9703cf29 100644 --- a/ingen/client/SocketClient.hpp +++ b/ingen/client/SocketClient.hpp @@ -22,8 +22,8 @@ #include "ingen/ingen.h" #include "raul/Socket.hpp" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { /** The client side of an Ingen socket connection. */ class INGEN_API SocketClient : public SocketWriter @@ -46,10 +46,10 @@ public: _respondee = respondee; } - static SPtr - new_socket_interface(Ingen::World* world, + static SPtr + new_socket_interface(ingen::World* world, const URI& uri, - SPtr respondee) + SPtr respondee) { const Raul::Socket::Type type = (uri.scheme() == "unix" ? Raul::Socket::Type::UNIX @@ -74,7 +74,7 @@ private: SocketReader _reader; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_SOCKET_CLIENT_HPP diff --git a/ingen/filesystem.hpp b/ingen/filesystem.hpp index 5c7d7568..d0fcdcd2 100644 --- a/ingen/filesystem.hpp +++ b/ingen/filesystem.hpp @@ -40,7 +40,7 @@ /* A minimal subset of the std::filesystem API from C++17. */ -namespace Ingen { +namespace ingen { namespace filesystem { inline bool exists(const FilePath& path) @@ -81,6 +81,6 @@ inline FilePath current_path() } } // namespace filesystem -} // namespace Ingen +} // namespace ingen #endif // INGEN_FILESYSTEM_HPP diff --git a/ingen/paths.hpp b/ingen/paths.hpp index e75e71e0..4f46b69a 100644 --- a/ingen/paths.hpp +++ b/ingen/paths.hpp @@ -23,7 +23,7 @@ #include "ingen/URI.hpp" #include "raul/Path.hpp" -namespace Ingen { +namespace ingen { inline URI main_uri() { return URI("ingen:/main"); } @@ -50,6 +50,6 @@ inline URI path_to_uri(const Raul::Path& path) return URI(main_uri().string() + path.c_str()); } -} // namespace Ingen +} // namespace ingen #endif // INGEN_PATHS_HPP diff --git a/ingen/runtime_paths.hpp b/ingen/runtime_paths.hpp index 1a8bc2c2..361ab6af 100644 --- a/ingen/runtime_paths.hpp +++ b/ingen/runtime_paths.hpp @@ -23,7 +23,7 @@ #include "ingen/ingen.h" #include "ingen/FilePath.hpp" -namespace Ingen { +namespace ingen { extern const char search_path_separator; @@ -37,6 +37,6 @@ INGEN_API FilePath ingen_module_path(const std::string& name, FilePath dir={}); INGEN_API FilePath user_config_dir(); INGEN_API std::vector system_config_dirs(); -} // namespace Ingen +} // namespace ingen #endif // INGEN_RUNTIME_PATHS_HPP diff --git a/ingen/types.hpp b/ingen/types.hpp index 7cd1c386..5e0d7506 100644 --- a/ingen/types.hpp +++ b/ingen/types.hpp @@ -22,7 +22,7 @@ #include "raul/Maid.hpp" -namespace Ingen { +namespace ingen { template void NullDeleter(T* ptr) {} @@ -57,6 +57,6 @@ SPtr const_ptr_cast(const SPtr& r) { return std::const_pointer_cast(r); } -} // namespace Ingen +} // namespace ingen #endif // INGEN_TYPES_HPP -- cgit v1.2.1