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 --- src/gui/App.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/gui/App.cpp') diff --git a/src/gui/App.cpp b/src/gui/App.cpp index 9f1a29ca..8a33fe46 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -58,19 +58,19 @@ namespace Raul { class Deletable; } -namespace Ingen { +namespace ingen { -namespace Client { class PluginModel; } +namespace client { class PluginModel; } -using namespace Client; +using namespace client; -namespace GUI { +namespace gui { class Port; Gtk::Main* App::_main = nullptr; -App::App(Ingen::World* world) +App::App(ingen::World* world) : _style(new Style(*this)) , _about_dialog(nullptr) , _window_factory(new WindowFactory(*this)) @@ -111,12 +111,12 @@ App::~App() } SPtr -App::create(Ingen::World* world) +App::create(ingen::World* world) { suil_init(&world->argc(), &world->argv(), SUIL_ARG_NONE); // Add RC file for embedded GUI Gtk style - const std::string rc_path = Ingen::data_file_path("ingen_style.rc"); + const std::string rc_path = ingen::data_file_path("ingen_style.rc"); Gtk::RC::add_default_file(rc_path); _main = Gtk::Main::instance(); @@ -158,7 +158,7 @@ App::run() } void -App::attach(SPtr client) +App::attach(SPtr client) { assert(!_client); assert(!_store); @@ -282,7 +282,7 @@ App::set_property(const URI& subject, void App::set_tooltip(Gtk::Widget* widget, const LilvNode* node) { - const std::string comment = RDFS::comment(_world, node); + const std::string comment = rdfs::comment(_world, node); if (!comment.empty()) { widget->set_tooltip_text(comment); } @@ -480,7 +480,7 @@ App::quit(Gtk::Window* dialog_parent) } bool -App::can_control(const Client::PortModel* port) const +App::can_control(const client::PortModel* port) const { return port->is_a(uris().lv2_ControlPort) || port->is_a(uris().lv2_CVPort) @@ -495,5 +495,5 @@ App::sample_rate() const return _sample_rate; } -} // namespace GUI -} // namespace Ingen +} // namespace gui +} // namespace ingen -- cgit v1.2.1