siprofilehandler.h
/*
Copyright (c) 2007-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 SIPROFILEHANDLER_H__
#define SIPROFILEHANDLER_H__
#include "jid.h"
#include "simanager.h"
#include <string>
namespace gloox
{
class Tag;
class JID;
class GLOOX_API SIProfileHandler
{
public:
virtual ~SIProfileHandler() {}
virtual void handleSIRequest( const JID& from, const JID& to, const std::string& id, const SIManager::SI& si ) = 0;
};
}
#endif // SIPROFILEHANDLER_H__
gloox::JID
An abstraction of a JID.
Definition jid.h:31
gloox::SIProfileHandler
An abstract base class to handle SI requests for a specific profile, e.g. file transfer.
Definition siprofilehandler.h:38
gloox::SIProfileHandler::handleSIRequest
virtual void handleSIRequest(const JID &from, const JID &to, const std::string &id, const SIManager::SI &si)=0
gloox::SIProfileHandler::~SIProfileHandler
virtual ~SIProfileHandler()
Definition siprofilehandler.h:44
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