diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-14 15:45:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-14 15:45:21 +0000 |
commit | 4d112a8e6b90fa64a5cd333042044768111ba994 (patch) | |
tree | 6688c5250bc55de106f74ef9be93d7ee574ec9d8 /gtk2_ardour/export_dialog.h | |
parent | 875f0befd5fb52678d25544fcbcb6e6b55a2c483 (diff) |
remove Glib::ustring from libardour; allow any characters except '/' and '\' in paths (may cause issues when loading creatively named 2.X sessions; fix a couple of details of name collection and usage from the startup dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@7772 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_dialog.h')
-rw-r--r-- | gtk2_ardour/export_dialog.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk2_ardour/export_dialog.h b/gtk2_ardour/export_dialog.h index 93d3b21654..4182b0f236 100644 --- a/gtk2_ardour/export_dialog.h +++ b/gtk2_ardour/export_dialog.h @@ -22,6 +22,7 @@ #define __export_dialog_h__ #include <boost/scoped_ptr.hpp> +#include <string> #include "ardour/export_profile_manager.h" @@ -120,8 +121,8 @@ class ExportDialog : public ArdourDialog { Gtk::Button list_files_button; Glib::ustring list_files_string; - void add_error (Glib::ustring const & text); - void add_warning (Glib::ustring const & text); + void add_error (std::string const & text); + void add_warning (std::string const & text); /* Progress bar */ @@ -140,12 +141,12 @@ class ExportDialog : public ArdourDialog { class ExportRangeDialog : public ExportDialog { public: - ExportRangeDialog (PublicEditor & editor, Glib::ustring range_id); + ExportRangeDialog (PublicEditor & editor, std::string range_id); private: void init_components (); - - Glib::ustring range_id; + + std::string range_id; }; class ExportSelectionDialog : public ExportDialog |