summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_format_specification.h
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2008-09-19 16:56:01 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2008-09-19 16:56:01 +0000
commit68f04adec110a991e2b2c1657e67a7dc791decc1 (patch)
treee5a47603b50d0e17e69ffcfd904424ed06180ddf /libs/ardour/ardour/export_format_specification.h
parentfa4bca989b18259456ec713b8f02e061ec8bc8e2 (diff)
* Added PBD::UUID
* uuid headers are needed for building! * Export presets and format profiles use UUID * Moved ExportPreset class away from ExportProfileManager * Workaround for Gtk::NoteBook bug in ExportMainDialog git-svn-id: svn://localhost/ardour2/branches/3.0@3762 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/export_format_specification.h')
-rw-r--r--libs/ardour/ardour/export_format_specification.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/libs/ardour/ardour/export_format_specification.h b/libs/ardour/ardour/export_format_specification.h
index 41f71e8275..6c195ff131 100644
--- a/libs/ardour/ardour/export_format_specification.h
+++ b/libs/ardour/ardour/export_format_specification.h
@@ -23,6 +23,8 @@
#include <glibmm/ustring.h>
+#include <pbd/uuid.h>
+
#include <ardour/types.h>
#include <ardour/export_format_base.h>
@@ -99,7 +101,7 @@ class ExportFormatSpecification : public ExportFormatBase {
/* Accessing functions */
- uint32_t id () { return _id; }
+ PBD::UUID const & id () { return _id; }
Glib::ustring const & name () const { return _name; }
Glib::ustring description ();
@@ -150,7 +152,7 @@ class ExportFormatSpecification : public ExportFormatBase {
/* The variables below have getters and setters */
Glib::ustring _name;
- uint32_t _id;
+ PBD::UUID _id;
Type _type;
DitherType _dither_type;
@@ -170,13 +172,6 @@ class ExportFormatSpecification : public ExportFormatBase {
void add_option (XMLNode * node, std::string const & name, std::string const & value);
std::string get_option (XMLNode const * node, std::string const & name);
-
- /*** Static stuff for id management, ExportElementFactory will have access to these ***/
-
- static void init_counter (uint32_t val) { if (val > _counter) { _counter = val; } }
- static uint32_t counter () { return _counter; }
-
- static uint32_t _counter;
};