gloox
1.0.22
src
adhocplugin.h
1
/*
2
Copyright (c) 2015-2017 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 ADHOCPLUGIN_H__
16
#define ADHOCPLUGIN_H__
17
18
#include "gloox.h"
19
#include "stanzaextension.h"
20
21
namespace
gloox
22
{
23
24
class
Tag;
25
38
class
GLOOX_API
AdhocPlugin
:
public
StanzaExtension
39
{
40
public
:
41
47
AdhocPlugin
(
int
type ) :
StanzaExtension
( type ) {}
48
52
virtual
~AdhocPlugin
() {}
53
57
virtual
operator
bool()
const
= 0;
58
59
};
60
61
}
62
63
#endif // ADHOCPLUGIN_H__
gloox::StanzaExtension
This class abstracts a stanza extension, which is usually an XML child element in a specific namespac...
Definition:
stanzaextension.h:203
gloox
The namespace for the gloox library.
Definition:
adhoc.cpp:27
gloox::AdhocPlugin
A base class for Adhoc Command plugins (DataForm, IO Data, ...).
Definition:
adhocplugin.h:38
gloox::AdhocPlugin::AdhocPlugin
AdhocPlugin(int type)
Definition:
adhocplugin.h:47
gloox::AdhocPlugin::~AdhocPlugin
virtual ~AdhocPlugin()
Definition:
adhocplugin.h:52
Generated on Mon Apr 25 2022 14:03:04 for gloox by
1.8.17