Add Snapshot feature

Add ChangeDatabase() method
Add GetDatabaseHome() and GetDatabaseFile()
This commit is contained in:
2012-03-20 20:57:45 +01:00
parent 391dc12304
commit e273303dcd
10 changed files with 303 additions and 8 deletions

View File

@@ -644,3 +644,8 @@ std::vector<ExportEngine*>* KissCount::GetExportEngines()
return _exportEngines;
}
bool KissCount::ChangeDatabase(QString filename)
{
return _db->ChangeDatabase(filename);
}

View File

@@ -137,6 +137,8 @@ public:
void GetHistory(int month, int year, QStringList& list);
bool ChangeDatabase(QString filename);
private:
wxUI* _wxUI;
Database* _db;