17 #include "clientbase.h"
18 #include "discohandler.h"
19 #include "flexoffhandler.h"
20 #include "iqhandler.h"
21 #include "stanzaextension.h"
75 { messageOperation( FORequestMsgs, msgs ); }
84 { messageOperation( FORemoveMsgs, msgs ); }
96 void removeFlexibleOfflineHandler();
99 virtual void handleDiscoInfo(
const JID& from,
const Disco::Info& info,
int context );
102 virtual void handleDiscoItems(
const JID& from,
const Disco::Items& items,
int context );
105 virtual void handleDiscoError(
const JID& from,
const Error* error,
int context );
108 virtual bool handleIq(
const IQ& iq ) { (void)iq;
return false; }
111 virtual void handleIqID(
const IQ& iq,
int context );
124 Offline(
const Tag* tag = 0 );
131 Offline(
int context,
const StringList& msgs );
139 virtual const std::string& filterString()
const;
144 return new Offline( tag );
148 virtual Tag* tag()
const;
151 virtual StanzaExtension* clone()
const
153 return new Offline( *
this );
161 void messageOperation(
int context,
const StringList& msgs );
172 ClientBase* m_parent;
173 FlexibleOfflineHandler* m_flexibleOfflineHandler;
178 #endif // FLEXOFF_H__
An abstraction of a Disco query element (from Service Discovery, XEP-0030) in the disco::items namesp...
std::list< std::string > StringList
An abstraction of an IQ stanza.
void removeMessages(const StringList &msgs)
A stanza error abstraction implemented as a StanzaExtension.
An implementation of XEP-0013 (Flexible Offline Message Retrieval).
The namespace for the gloox library.
This class abstracts a stanza extension, which is usually an element in a specific namespace...
virtual bool handleIq(const IQ &iq)
Implementation of this virtual interface allows for retrieval of offline messages following XEP-0030...
An abstraction of a Disco Info element (from Service Discovery, XEP-0030) as a StanzaExtension.
A virtual interface which can be reimplemented to receive IQ stanzas.
A virtual interface that enables objects to receive Service Discovery (XEP-0030) events.
void fetchMessages(const StringList &msgs)
This is the common base class for a Jabber/XMPP Client and a Jabber Component.
This is an abstraction of an XML element.