Add a new non static variant for getHeaderInfo() (TODO: need unit tests)

This commit is contained in:
Sébastien Rombauts 2020-01-04 19:11:24 +01:00
parent ddb4929ddb
commit 4f4d833868

View File

@ -477,6 +477,12 @@ public:
*/ */
static Header getHeaderInfo(const std::string& aFilename); static Header getHeaderInfo(const std::string& aFilename);
// Parse SQLite header data from a database file.
Header getHeaderInfo()
{
return getHeaderInfo(mFilename);
}
/** /**
* @brief BackupType for the backup() method * @brief BackupType for the backup() method
*/ */