taghandler.h
/*
Copyright (c) 2005-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 TAGHANDLER_H__
#define TAGHANDLER_H__
#include "tag.h"
namespace gloox
{
class GLOOX_API TagHandler
{
public:
virtual ~TagHandler() {}
virtual void handleTag( Tag* tag ) = 0;
};
}
#endif // TAGHANDLER_H__
gloox::TagHandler
A virtual interface which can be reimplemented to receive non-XMPP Core stanzas.
Definition taghandler.h:33
gloox::TagHandler::handleTag
virtual void handleTag(Tag *tag)=0
gloox::TagHandler::~TagHandler
virtual ~TagHandler()
Definition taghandler.h:38
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