1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-31 17:08:45 +01:00

Factor ProjectFileIO::GetConnection (returning reference not pointer)

This commit is contained in:
Paul Licameli
2020-09-02 14:36:16 -04:00
parent 4742f4ce1c
commit c9dec8f5a9
2 changed files with 13 additions and 2 deletions

View File

@@ -142,6 +142,8 @@ public:
// 0 for success or non-zero to stop the query
using ExecCB = std::function<int(int cols, char **vals, char **names)>;
DBConnection &GetConnection();
private:
void WriteXMLHeader(XMLWriter &xmlFile) const;
void WriteXML(XMLWriter &xmlFile, bool recording = false, const std::shared_ptr<TrackList> &tracks = nullptr) /* not override */;