mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-08 15:27:51 +02:00
Add dump of active AUP3 XML doc to support data
This commit is contained in:
@@ -288,6 +288,16 @@ DBConnection &ProjectFileIO::GetConnection()
|
||||
return *curConn;
|
||||
}
|
||||
|
||||
wxString ProjectFileIO::GenerateDoc()
|
||||
{
|
||||
auto &trackList = TrackList::Get( mProject );
|
||||
|
||||
XMLStringWriter doc;
|
||||
WriteXMLHeader(doc);
|
||||
WriteXML(doc, false, trackList.empty() ? nullptr : &trackList);
|
||||
return doc;
|
||||
}
|
||||
|
||||
sqlite3 *ProjectFileIO::DB()
|
||||
{
|
||||
return GetConnection().DB();
|
||||
|
||||
Reference in New Issue
Block a user