diff options
author | David Robillard <d@drobilla.net> | 2012-04-28 01:10:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-28 01:10:26 +0000 |
commit | 70f4bcdde45e94dbe27300a5069994aebc523cab (patch) | |
tree | 049b88a7adfb4c11d4fb3643024422ce8b20ab32 /src/gui/PatchBox.hpp | |
parent | b08a8a15fd136ab8323e282484a5a96d698dc808 (diff) | |
download | ingen-70f4bcdde45e94dbe27300a5069994aebc523cab.tar.gz ingen-70f4bcdde45e94dbe27300a5069994aebc523cab.tar.bz2 ingen-70f4bcdde45e94dbe27300a5069994aebc523cab.zip |
Remove using declarations from headers.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4288 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchBox.hpp')
-rw-r--r-- | src/gui/PatchBox.hpp | 34 |
1 files changed, 19 insertions, 15 deletions
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<Gtk::Builder>& xml); ~PatchBox(); - static SharedPtr<PatchBox> create(App& app, SharedPtr<const PatchModel> patch); + static SharedPtr<PatchBox> create( + App& app, SharedPtr<const Client::PatchModel> patch); void init_box(App& app); - void set_patch(SharedPtr<const PatchModel> pc, SharedPtr<PatchView> view); + + void set_patch(SharedPtr<const Client::PatchModel> pc, + SharedPtr<PatchView> view); + void set_window(PatchWindow* win) { _window = win; } void show_documentation(const std::string& doc, bool html); void hide_documentation(); - SharedPtr<const PatchModel> patch() const { return _patch; } - SharedPtr<PatchView> view() const { return _view; } + SharedPtr<const Client::PatchModel> patch() const { return _patch; } + SharedPtr<PatchView> 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<PatchView> 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<const PortModel> port); - void patch_port_removed(SharedPtr<const PortModel> port); - void show_status(const ObjectModel* model); + void patch_port_added(SharedPtr<const Client::PortModel> port); + void patch_port_removed(SharedPtr<const Client::PortModel> 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<const PatchModel> _patch; - SharedPtr<PatchView> _view; - PatchWindow* _window; + App* _app; + SharedPtr<const Client::PatchModel> _patch; + SharedPtr<PatchView> _view; + PatchWindow* _window; sigc::connection new_port_connection; sigc::connection removed_port_connection; |