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/ConnectWindow.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/gui/ConnectWindow.cpp') diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp index 458a43dd..e76fbc06 100644 --- a/src/gui/ConnectWindow.cpp +++ b/src/gui/ConnectWindow.cpp @@ -41,10 +41,10 @@ #include "ConnectWindow.hpp" #include "WindowFactory.hpp" -using namespace Ingen::Client; +using namespace ingen::client; -namespace Ingen { -namespace GUI { +namespace ingen { +namespace gui { ConnectWindow::ConnectWindow(BaseObjectType* cobject, Glib::RefPtr xml) @@ -102,7 +102,7 @@ ConnectWindow::error(const std::string& msg) } void -ConnectWindow::start(App& app, Ingen::World* world) +ConnectWindow::start(App& app, ingen::World* world) { _app = &app; @@ -129,7 +129,7 @@ ConnectWindow::ingen_response(int32_t id, } void -ConnectWindow::set_connected_to(SPtr engine) +ConnectWindow::set_connected_to(SPtr engine) { _app->world()->set_interface(engine); @@ -193,12 +193,12 @@ ConnectWindow::set_connecting_widget_states() bool ConnectWindow::connect_remote(const URI& uri) { - Ingen::World* world = _app->world(); + ingen::World* world = _app->world(); SPtr sci(new SigClientInterface()); SPtr qi(new QueuedInterface(sci)); - SPtr iface(world->new_interface(uri, qi)); + SPtr iface(world->new_interface(uri, qi)); if (iface) { world->set_interface(iface); _app->attach(qi); @@ -223,14 +223,14 @@ ConnectWindow::connect(bool existing) set_connecting_widget_states(); _connect_stage = 0; - Ingen::World* world = _app->world(); + ingen::World* world = _app->world(); if (_mode == Mode::CONNECT_REMOTE) { std::string uri_str = world->conf().option("connect").ptr(); if (existing) { uri_str = world->interface()->uri(); _connect_stage = 1; - SPtr client = dynamic_ptr_cast(world->interface()); + SPtr client = dynamic_ptr_cast(world->interface()); if (client) { _app->attach(client->respondee()); _app->register_callbacks(); @@ -290,7 +290,7 @@ ConnectWindow::disconnect() _attached = false; _app->detach(); - set_connected_to(SPtr()); + set_connected_to(SPtr()); if (!_widgets_loaded) { return; @@ -568,5 +568,5 @@ ConnectWindow::quit() Gtk::Main::quit(); } -} // namespace GUI -} // namespace Ingen +} // namespace gui +} // namespace ingen -- cgit v1.2.1