adhocplugin.h
/*
Copyright (c) 2015-2023 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distributed
other than expressed in the named license agreement.
This software is distributed without any warranty.
*/
#ifndef ADHOCPLUGIN_H__
#define ADHOCPLUGIN_H__
#include "gloox.h"
#include "stanzaextension.h"
namespace gloox
{
class Tag;
class GLOOX_API AdhocPlugin : public StanzaExtension
{
public:
AdhocPlugin( int type ) : StanzaExtension( type ) {}
virtual ~AdhocPlugin() {}
virtual operator bool() const = 0;
};
}
#endif // ADHOCPLUGIN_H__
gloox::AdhocPlugin::~AdhocPlugin
virtual ~AdhocPlugin()
Definition adhocplugin.h:52
gloox::AdhocPlugin::AdhocPlugin
AdhocPlugin(int type)
Definition adhocplugin.h:47
gloox::StanzaExtension::StanzaExtension
StanzaExtension(int type)
Definition stanzaextension.h:211
gloox::Tag
This is an abstraction of an XML element.
Definition tag.h:47
gloox
The namespace for the gloox library.
Definition adhoc.cpp:28