From 70f4bcdde45e94dbe27300a5069994aebc523cab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Apr 2012 01:10:26 +0000 Subject: Remove using declarations from headers. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4288 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchBox.hpp | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to 'src/gui/PatchBox.hpp') diff --git a/src/gui/PatchBox.hpp b/src/gui/PatchBox.hpp index 17855261..c7d4168a 100644 --- a/src/gui/PatchBox.hpp +++ b/src/gui/PatchBox.hpp @@ -32,7 +32,6 @@ namespace Client { class PortModel; class ObjectModel; } -using namespace Ingen::Client; namespace GUI { @@ -57,29 +56,34 @@ public: const Glib::RefPtr& xml); ~PatchBox(); - static SharedPtr create(App& app, SharedPtr patch); + static SharedPtr create( + App& app, SharedPtr patch); void init_box(App& app); - void set_patch(SharedPtr pc, SharedPtr view); + + void set_patch(SharedPtr pc, + SharedPtr view); + void set_window(PatchWindow* win) { _window = win; } void show_documentation(const std::string& doc, bool html); void hide_documentation(); - SharedPtr patch() const { return _patch; } - SharedPtr view() const { return _view; } + SharedPtr patch() const { return _patch; } + SharedPtr view() const { return _view; } - void show_port_status(const PortModel* model, const Raul::Atom& value); + void show_port_status(const Client::PortModel* model, + const Raul::Atom& value); void set_patch_from_path(const Raul::Path& path, SharedPtr view); - void object_entered(const ObjectModel* model); - void object_left(const ObjectModel* model); + void object_entered(const Client::ObjectModel* model); + void object_left(const Client::ObjectModel* model); private: - void patch_port_added(SharedPtr port); - void patch_port_removed(SharedPtr port); - void show_status(const ObjectModel* model); + void patch_port_added(SharedPtr port); + void patch_port_removed(SharedPtr port); + void show_status(const Client::ObjectModel* model); int message_dialog(const Glib::ustring& message, const Glib::ustring& secondary_text, @@ -109,10 +113,10 @@ private: void event_show_engine(); void event_clipboard_changed(GdkEventOwnerChange* ev); - App* _app; - SharedPtr _patch; - SharedPtr _view; - PatchWindow* _window; + App* _app; + SharedPtr _patch; + SharedPtr _view; + PatchWindow* _window; sigc::connection new_port_connection; sigc::connection removed_port_connection; -- cgit v1.2.1