compressiondatahandler.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 COMPRESSIONDATAHANDLER_H__
#define COMPRESSIONDATAHANDLER_H__
#include "macros.h"
#include <string>
namespace gloox
{
class GLOOX_API CompressionDataHandler
{
public:
virtual ~CompressionDataHandler() {}
virtual void handleCompressedData( const std::string& data ) = 0;
virtual void handleDecompressedData( const std::string& data ) = 0;
};
}
#endif // COMPRESSIONDATAHANDLER_H__
gloox::CompressionDataHandler
An abstract base class used to receive de/compressed data from a CompressionBase-derived object.
Definition compressiondatahandler.h:35
gloox::CompressionDataHandler::handleCompressedData
virtual void handleCompressedData(const std::string &data)=0
gloox::CompressionDataHandler::handleDecompressedData
virtual void handleDecompressedData(const std::string &data)=0
gloox::CompressionDataHandler::~CompressionDataHandler
virtual ~CompressionDataHandler()
Definition compressiondatahandler.h:40
gloox
The namespace for the gloox library.
Definition adhoc.cpp:28