Begin 'shared' project to share code between cli and gui

This commit is contained in:
2019-04-20 23:31:14 +02:00
parent f160c72d2f
commit 6b94b8f619
9 changed files with 281 additions and 4 deletions

20
cli/commandsearch.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef COMMANDSEARCH_H
#define COMMANDSEARCH_H
#include "command.h"
#include "../shared/sqlitesearch.h"
class CommandSearch : public Command
{
private:
SqliteSearch searcher;
public:
using Command::Command;
int handle(QStringList arguments) override
{
return 23;
}
};
#endif // COMMANDSEARCH_H