shared: FileSaver: Make addFile(),updateFile() public
This commit is contained in:
parent
4234967ef5
commit
715023a3ee
@ -11,12 +11,10 @@ class FileSaver
|
|||||||
private:
|
private:
|
||||||
SqliteDbService *dbService;
|
SqliteDbService *dbService;
|
||||||
|
|
||||||
protected:
|
|
||||||
SaveFileResult addFile(QString path);
|
|
||||||
SaveFileResult updateFile(QString path);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FileSaver(SqliteDbService &dbService);
|
FileSaver(SqliteDbService &dbService);
|
||||||
|
SaveFileResult addFile(QString path);
|
||||||
|
SaveFileResult updateFile(QString path);
|
||||||
SaveFileResult saveFile(const QFileInfo &fileInfo);
|
SaveFileResult saveFile(const QFileInfo &fileInfo);
|
||||||
int processFiles(const QVector<QString> paths, std::function<SaveFileResult(QString path)> saverFunc,
|
int processFiles(const QVector<QString> paths, std::function<SaveFileResult(QString path)> saverFunc,
|
||||||
bool keepGoing, bool verbose);
|
bool keepGoing, bool verbose);
|
||||||
|
Loading…
Reference in New Issue
Block a user