CommandSearch: Begin basic functionality (prints filename of result)

此提交包含在:
2019-04-22 22:00:40 +02:00
父節點 623eea80ec
當前提交 cfe30ae5fd
共有 4 個檔案被更改,包括 44 行新增4 行删除

查看文件

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