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