diff options
author | David Robillard <d@drobilla.net> | 2018-01-21 00:41:34 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-01-21 00:56:50 +0100 |
commit | 44f7ad5222d824d81dc743045d5887418847e74e (patch) | |
tree | 1b41535ac00b8b225a25dba2873b064cb074bfa9 /src/gui/URIEntry.hpp | |
parent | 90fca083052880479ad90d870e556f0648e32106 (diff) | |
download | ingen-44f7ad5222d824d81dc743045d5887418847e74e.tar.gz ingen-44f7ad5222d824d81dc743045d5887418847e74e.tar.bz2 ingen-44f7ad5222d824d81dc743045d5887418847e74e.zip |
Add URI class and remove use of Raul::URI
Diffstat (limited to 'src/gui/URIEntry.hpp')
-rw-r--r-- | src/gui/URIEntry.hpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/gui/URIEntry.hpp b/src/gui/URIEntry.hpp index 90df2160..2f55a3d9 100644 --- a/src/gui/URIEntry.hpp +++ b/src/gui/URIEntry.hpp @@ -36,9 +36,7 @@ public: * If `types` is given, then a menu button will be shown which pops up a * enu for easily choosing known values with valid types. */ - URIEntry(App* app, - std::set<Raul::URI> types, - const std::string& value); + URIEntry(App* app, std::set<URI> types, const std::string& value); std::string get_text() { return _entry->get_text(); } Glib::SignalProxy0<void> signal_changed() { return _entry->signal_changed(); } @@ -58,10 +56,10 @@ private: void uri_chosen(const std::string& uri); bool menu_button_event(GdkEvent* ev); - App* _app; - const std::set<Raul::URI> _types; - Gtk::Button* _menu_button; - Gtk::Entry* _entry; + App* _app; + const std::set<URI> _types; + Gtk::Button* _menu_button; + Gtk::Entry* _entry; }; } // namespace GUI |