Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / ZIOP / TestCompressor / TestCompressor.h
blob773f33a1c90310d7f8974faade13a33b81494ab4
1 // -*- C++ -*-
3 // ===================================================================
4 /**
5 * @file TestCompressor.h
7 * See http://www.zlib.net/manual.html for the zlib interface itself
9 * @author Johnny Willemsen <jwillemsen@remedy.nl>
11 // ===================================================================
13 #ifndef TAO_TESTCOMPRESSOR_H
14 #define TAO_TESTCOMPRESSOR_H
16 #include /**/ "ace/pre.h"
18 #include "TestCompressor_export.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "tao/Compression/Compression.h"
25 #include "tao/Compression/Base_Compressor.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 namespace TAO
31 class TAO_TESTCOMPRESSOR_Export TestCompressor : public BaseCompressor
33 public:
34 TestCompressor (::Compression::CompressorFactory_ptr compressor_factory,
35 ::Compression::CompressionLevel compression_level);
37 virtual void compress (
38 const ::Compression::Buffer &,
39 ::Compression::Buffer &);
41 virtual void decompress (
42 const ::Compression::Buffer &,
43 ::Compression::Buffer &);
47 TAO_END_VERSIONED_NAMESPACE_DECL
49 #include /**/ "ace/post.h"
51 #endif /* TAO_TESTCOMPRESSOR_H */