Modified search plugin iface.

This commit is contained in:
iaom 2021-05-19 14:29:26 +08:00
parent f1d270540c
commit d9720d2b67
1 changed files with 3 additions and 2 deletions

View File

@ -24,12 +24,13 @@ public:
QIcon icon;
QString name;
QVector<DescriptionInfo> description;
QMap<QString,QString> actionMap;//action name and action key
QStringList actionList; //all actions, take fist for double click action.
QString key;
};
virtual ~SearchPluginIface() {}
virtual QString getPluginName() = 0;
virtual void KeywordSearch(QString keyword,QQueue<ResultInfo> *searchResult) = 0;
virtual void openAction(QString name, QString key) = 0;
virtual void openAction(QString action, QString key) = 0;
};
}