19 #include "searchhandler.h" 20 #include "discohandler.h" 21 #include "iqhandler.h" 22 #include "stanzaextension.h" 93 virtual bool handleIq(
const IQ& iq ) { (void)iq;
return false; }
96 virtual void handleIqID(
const IQ& iq,
int context );
105 typedef std::map<std::string, SearchHandler*> TrackMap;
143 Query(
const Tag* tag = 0 );
154 const DataForm* form()
const {
return m_form; }
160 const std::string& instructions()
const {
return m_instructions; }
166 int fields()
const {
return m_fields; }
175 virtual const std::string& filterString()
const;
180 return new Query( tag );
184 virtual Tag* tag()
const;
189 Query* q =
new Query();
190 q->m_form = m_form ?
new DataForm( *m_form ) : 0;
191 q->m_fields = m_fields;
192 q->m_values = m_values;
193 q->m_instructions = m_instructions;
194 SearchResultList::const_iterator it = m_srl.begin();
195 for( ; it != m_srl.end(); ++it )
207 std::string m_instructions;
An abstraction of an IQ stanza.
std::list< const SearchFieldStruct * > SearchResultList
An implementation of XEP-0055 (Jabber Search)
The namespace for the gloox library.
This class abstracts a stanza extension, which is usually an XML child element in a specific namespac...
A virtual interface which can be reimplemented to receive IQ stanzas.
A virtual interface that enables objects to receive Jabber Search (XEP-0055) results.
This class implements XEP-0030 (Service Discovery) and XEP-0092 (Software Version).
This is the common base class for a Jabber/XMPP Client and a Jabber Component.
This is an abstraction of an XML element.
virtual bool handleIq(const IQ &iq)