CommandSearch: Begin basic functionality (prints filename of result)

This commit is contained in:
2019-04-22 22:00:40 +02:00
parent 623eea80ec
commit cfe30ae5fd
4 changed files with 44 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
#include "utils.h"
#include "pagedata.h"
#include "filedata.h"
#include "../shared/sqlitesearch.h"
enum SaveFileResult
{
OK,
@@ -25,6 +26,7 @@ class SqliteDbService
bool deleteFile(QString path);
bool fileExistsInDatabase(QString path);
bool fileExistsInDatabase(QString path, qint64 mtime);
QVector<SearchResult> search(QString searchQuery);
};
#endif // SQLITEDBSERVICE_H