aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/Buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/Buffer.hh')
-rw-r--r--include/qpdf/Buffer.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/qpdf/Buffer.hh b/include/qpdf/Buffer.hh
index a7a7ceae..c4f03768 100644
--- a/include/qpdf/Buffer.hh
+++ b/include/qpdf/Buffer.hh
@@ -8,16 +8,26 @@
#ifndef __BUFFER_HH__
#define __BUFFER_HH__
+#include <qpdf/DLL.hh>
+
class Buffer
{
public:
+ DLL_EXPORT
Buffer();
+ DLL_EXPORT
Buffer(unsigned long size);
+ DLL_EXPORT
Buffer(Buffer const&);
+ DLL_EXPORT
Buffer& operator=(Buffer const&);
+ DLL_EXPORT
~Buffer();
+ DLL_EXPORT
unsigned long getSize() const;
+ DLL_EXPORT
unsigned char const* getBuffer() const;
+ DLL_EXPORT
unsigned char* getBuffer();
private: