Cleaned up Main initialization handling. This will need to be refactored into a builder class.

This commit is contained in:
emb
2015-01-01 13:29:23 -06:00
parent f83fc56c5f
commit 174ea4f4f9
5 changed files with 73 additions and 46 deletions

View File

@@ -2,14 +2,13 @@
* file 'LICENSE.txt', which is part of this source code package.
*/
#include "DB.h"
#include "Configuration.h"
#include "../Utility/Log.h"
#include <sstream>
#include <fstream>
DB::DB()
: Path(Configuration::GetAbsolutePath() + "/cache.db")
DB::DB(std::string dbFile)
: Path(dbFile)
, Handle(NULL)
{
}