shared: FileSaver: Make addFile(),updateFile() public

This commit is contained in:
Albert S. 2022-04-14 15:01:25 +02:00
parent 4234967ef5
commit 715023a3ee

View File

@ -11,12 +11,10 @@ class FileSaver
private:
SqliteDbService *dbService;
protected:
SaveFileResult addFile(QString path);
SaveFileResult updateFile(QString path);
public:
FileSaver(SqliteDbService &dbService);
SaveFileResult addFile(QString path);
SaveFileResult updateFile(QString path);
SaveFileResult saveFile(const QFileInfo &fileInfo);
int processFiles(const QVector<QString> paths, std::function<SaveFileResult(QString path)> saverFunc,
bool keepGoing, bool verbose);