gloox
1.0.28
src
iqhandler.h
1
/*
2
Copyright (c) 2004-2023 by Jakob Schröter <js@camaya.net>
3
This file is part of the gloox library. http://camaya.net/gloox
4
5
This software is distributed under a license. The full license
6
agreement can be found in the file LICENSE in this distribution.
7
This software may not be copied, modified, sold or distributed
8
other than expressed in the named license agreement.
9
10
This software is distributed without any warranty.
11
*/
12
13
14
15
#ifndef IQHANDLER_H__
16
#define IQHANDLER_H__
17
18
#include "iq.h"
19
20
namespace
gloox
21
{
22
31
class
GLOOX_API
IqHandler
32
{
33
public
:
37
virtual
~IqHandler
() {}
38
46
virtual
bool
handleIq
(
const
IQ
& iq ) = 0;
47
60
virtual
void
handleIqID
(
const
IQ
& iq,
int
context ) = 0;
61
62
};
63
64
}
65
66
#endif
// IQHANDLER_H__
gloox::IQ
An abstraction of an IQ stanza.
Definition:
iq.h:34
gloox::IqHandler
A virtual interface which can be reimplemented to receive IQ stanzas.
Definition:
iqhandler.h:32
gloox::IqHandler::handleIqID
virtual void handleIqID(const IQ &iq, int context)=0
gloox::IqHandler::handleIq
virtual bool handleIq(const IQ &iq)=0
gloox::IqHandler::~IqHandler
virtual ~IqHandler()
Definition:
iqhandler.h:37
gloox
The namespace for the gloox library.
Definition:
adhoc.cpp:28
Generated on Wed Nov 22 2023 12:09:59 for gloox by
1.9.1