30 #ifndef PLUGINS_AZOTH_INTERFACES_IHAVESEARCH_H
31 #define PLUGINS_AZOTH_INTERFACES_IHAVESEARCH_H
34 class QAbstractItemModel;
136 "org.Deviant.LeechCraft.Azoth.ISearchSession/1.0");
138 "org.Deviant.LeechCraft.Azoth.IHaveSearch/1.0");
virtual QAbstractItemModel * GetRepresentationModel() const =0
Returns the model with the results.
virtual QObject * CreateSearchSession()=0
Creates a new search session.
virtual QString GetDefaultSearchServer() const =0
Returns a default search server for this account.
Q_DECLARE_INTERFACE(LeechCraft::Azoth::IAccount,"org.Deviant.LeechCraft.Azoth.IAccount/1.0")
Interface for accounts supporting IM search.
Interface for search sessions.
virtual ~ISearchSession()
virtual void RestartSearch(QString server)=0
Sets the search server used and restarts the search.