void RemoveFile(const std::string& d,
tree::Node* filename);
+ ///Deletes the given drive name from the databases
+ void DeleteDrive(const std::string& drive);
+
+
/// Copies the files into the local directory
void CopyFiles(const std::vector<std::string>& filenames, const std::string& d );
const SQLiteTreeHandler* GetLocalDatabase() const
{ return mLocalDatabase; }
- // add DB from Settings file
+ ///Returns the given setting value for the given setting parameter
+ void GetSetting(const std::string& name, std::string& value);
+
+ ///Updates the settings file
+ void UpdateSetting(const std::string& name, const std::string& value);
+
+ /// add DB from Settings file
void addDBSettings();
+ ///Edits the field described by the name and key provided with the value given
+ void EditField(tree::Node* node, const std::string& d, const std::string& name, const std::string& key, const std::string& val);
+
///
const std::string& GetHomeDirectory();
const std::string& GetUserSettingsDirectory();