// @param i_location : DB location //
// return : - //
///////////////////////////////////////////////////////////////////////
- void Gimmick::addDB(std::string &i_name, std::string &i_location)
+ void Gimmick::addDB(const std::string &i_name,
+ const std::string &i_location)
{
if(mTreeHandlerMap.find(i_name) == mTreeHandlerMap.end())
{
// @param i_locDB : location of DB //
// return : the SQLiteTreeHandler object on DB //
/////////////////////////////////////////////////////////////////////////
- SQLiteTreeHandler *Gimmick::createDB(std::string &i_name, std::string &i_locDesc, std::string &i_locDB)
+ SQLiteTreeHandler *Gimmick::createDB(const std::string &i_name,
+ const std::string &i_locDesc,
+ const std::string &i_locDB)
{
SQLiteTreeHandler *sqlTreeH = new SQLiteTreeHandler(i_locDB);
// Create or open local database
//========================================================================
void Gimmick::RemoveFile(const std::string& d,
- const tree::Node* & node)
+ tree::Node* node)
{
mImageAdder.SetSynchronizer(mSynchronizer);
mTimestampDatabase->RemoveNode("PATH",node);