CommandSearch: Begin basic functionality (prints filename of result)

This commit is contained in:
2019-04-22 22:00:40 +02:00
parent be53fc7f6e
commit e37aa61eda
4 changed files with 43 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,
@ -24,6 +25,7 @@ public:
bool deleteFile(QString path);
bool fileExistsInDatabase(QString path);
bool fileExistsInDatabase(QString path, qint64 mtime);
QVector<SearchResult> search(QString searchQuery);
};