CommandSearch: Begin basic functionality (prints filename of result)

Tá an tiomantas seo le fáil i:
2019-04-22 22:00:40 +02:00
tuismitheoir 623eea80ec
tiomantas cfe30ae5fd
D'athraigh 4 comhad le 44 breiseanna agus 4 scriosta

Féach ar an gComhad

@ -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