Fix plugin iface compilation problem.

This commit is contained in:
rookie-J 2021-05-06 20:23:36 +08:00
parent 4743b427c2
commit 035c68cc45
2 changed files with 8 additions and 2 deletions

View File

@ -23,11 +23,12 @@ public:
};
virtual ~SearchPluginIface() {}
virtual QString getPluginName() = 0;
virtual void KeywordSearch(QString keyword,QQueue<resultInfo> *searchResult);
virtual void openAction(QString name, QString key);
virtual void KeywordSearch(QString keyword,QQueue<resultInfo> *searchResult) = 0;
virtual void openAction(QString name, QString key) = 0;
};
}
Q_DECLARE_INTERFACE(Zeeker::SearchPluginIface, SearchPluginIface_iid)
#endif // SEARCHPLUGINIFACE_H

View File

@ -38,3 +38,8 @@ void SearchPluginManager::close()
SearchPluginManager::SearchPluginManager(QObject *parent)
{
}
SearchPluginManager::~SearchPluginManager()
{
m_hash.clear();
}