* 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
This commit is contained in:
Sakari Bergen 2008-09-19 16:56:01 +00:00
parent fa4bca989b
commit 68f04adec1
14 changed files with 367 additions and 227 deletions

View file

@ -44,18 +44,12 @@ namespace ARDOUR
ExportElementFactory::ExportElementFactory (Session & session) :
session (session)
{
XMLProperty * prop;
XMLNode * instant_node = ARDOUR::Config->instant_xml ("ExportFormatSpecification");
if (instant_node && (prop = instant_node->property ("id-counter"))) {
ExportFormatSpecification::init_counter (atoi (prop->value()));
}
}
ExportElementFactory::~ExportElementFactory ()
{
XMLNode * instant_node = new XMLNode ("ExportFormatSpecification");
instant_node->add_property ("id-counter", to_string (ExportFormatSpecification::counter(), std::dec));
ARDOUR::Config->add_instant_xml (*instant_node);
}
ExportElementFactory::TimespanPtr