std::string dbpath = GetLocalDatabasePath();
// Create or open local database
std::string dpath= mCurrentDirectory + "/.gimmick/Shared/gimmick/localdatabase_Descriptor.dscp";
std::string dbpath = GetLocalDatabasePath();
// Create or open local database
std::string dpath= mCurrentDirectory + "/.gimmick/Shared/gimmick/localdatabase_Descriptor.dscp";
//========================================================================
//========================================================================
//========================================================================
//========================================================================
path=path.substr(0,path.size()-1);
path=path.substr(0,path.find_last_of("/"));
//Creating directories
path=path.substr(0,path.size()-1);
path=path.substr(0,path.find_last_of("/"));
//Creating directories
std::cout <<"From: " << path <<std::endl;
std::cout <<"To: " << setDir <<std::endl;
boost::algorithm::replace_all( path,
std::cout <<"From: " << path <<std::endl;
std::cout <<"To: " << setDir <<std::endl;
boost::algorithm::replace_all( path,
//========================================================================
/// Add the files to the tree handler
void Gimmick::AddFiles(const std::string& d,
//========================================================================
/// Add the files to the tree handler
void Gimmick::AddFiles(const std::string& d,
-
- /////////////////////////////////////////////////////////////////////////
- // add DB from Settings file //
- // @param : - //
- // return : - //
- /////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////
+ // add DB from Settings file //
+ // @param : - //
+ // return : - //
+ ////////////////////////////////////////////////////////////////////////
std::string name = it_path->substr(pos +1, last_pos -pos-1 );
addDB(name, it_path->c_str());
}
std::string name = it_path->substr(pos +1, last_pos -pos-1 );
addDB(name, it_path->c_str());
}