Begin 'shared' project to share code between cli and gui
This commit is contained in:
20
cli/commandsearch.h
Normal file
20
cli/commandsearch.h
Normal 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
|
||||
Reference in New Issue
Block a user