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")
137 Q_DECLARE_INTERFACE (
LC::Azoth::IHaveSearch,
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 void RestartSearch(QString server)=0
Sets the search server used and restarts the search.
Interface for accounts supporting IM search.
virtual QString GetDefaultSearchServer() const =0
Returns a default search server for this account.
Interface for search sessions.
virtual ~ISearchSession()