summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_format_specification.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-09-14 15:45:21 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-09-14 15:45:21 +0000
commit4d112a8e6b90fa64a5cd333042044768111ba994 (patch)
tree6688c5250bc55de106f74ef9be93d7ee574ec9d8 /libs/ardour/ardour/export_format_specification.h
parent875f0befd5fb52678d25544fcbcb6e6b55a2c483 (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 'libs/ardour/ardour/export_format_specification.h')
-rw-r--r--libs/ardour/ardour/export_format_specification.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/ardour/export_format_specification.h b/libs/ardour/ardour/export_format_specification.h
index 3b9382237c..9594485a91 100644
--- a/libs/ardour/ardour/export_format_specification.h
+++ b/libs/ardour/ardour/export_format_specification.h
@@ -21,7 +21,7 @@
#ifndef __ardour_export_format_specification_h__
#define __ardour_export_format_specification_h__
-#include <glibmm/ustring.h>
+#include <string>
#include "pbd/uuid.h"
@@ -76,7 +76,7 @@ class ExportFormatSpecification : public ExportFormatBase {
void set_format (boost::shared_ptr<ExportFormat> format);
- void set_name (Glib::ustring const & name) { _name = name; }
+ void set_name (std::string const & name) { _name = name; }
void set_type (Type type) { _type = type; }
void set_format_id (FormatId value) { format_ids.clear(); format_ids.insert (value); }
@@ -100,12 +100,12 @@ class ExportFormatSpecification : public ExportFormatBase {
/* Accessing functions */
PBD::UUID const & id () { return _id; }
- Glib::ustring const & name () const { return _name; }
- Glib::ustring description ();
+ std::string const & name () const { return _name; }
+ std::string description ();
bool has_broadcast_info () const { return _has_broadcast_info; }
uint32_t channel_limit () const { return _channel_limit; }
- Glib::ustring format_name () const { return _format_name; }
+ std::string format_name () const { return _format_name; }
Type type () const { return _type; }
FormatId format_id () const { return *format_ids.begin(); }
@@ -144,7 +144,7 @@ class ExportFormatSpecification : public ExportFormatBase {
/* The variables below do not have setters (usually set via set_format) */
- Glib::ustring _format_name;
+ std::string _format_name;
bool has_sample_format;
bool supports_tagging;
bool _has_broadcast_info;
@@ -152,7 +152,7 @@ class ExportFormatSpecification : public ExportFormatBase {
/* The variables below have getters and setters */
- Glib::ustring _name;
+ std::string _name;
PBD::UUID _id;
Type _type;