2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-03 07:12:28 +00:00

fix class-level DLL_EXPORT

git-svn-id: svn+q:///qpdf/trunk@797 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2009-10-12 01:18:19 +00:00
parent 44cbd3d4b4
commit f71eb2af91
24 changed files with 24 additions and 48 deletions

View File

@ -10,8 +10,7 @@
#include <qpdf/DLL.hh> #include <qpdf/DLL.hh>
DLL_EXPORT class DLL_EXPORT Buffer
class Buffer
{ {
public: public:
Buffer(); Buffer();

View File

@ -33,8 +33,7 @@
#include <qpdf/DLL.hh> #include <qpdf/DLL.hh>
#include <string> #include <string>
DLL_EXPORT class DLL_EXPORT Pipeline
class Pipeline
{ {
public: public:
Pipeline(char const* identifier, Pipeline* next); Pipeline(char const* identifier, Pipeline* next);

View File

@ -24,8 +24,7 @@
#include <qpdf/Buffer.hh> #include <qpdf/Buffer.hh>
#include <list> #include <list>
DLL_EXPORT class DLL_EXPORT Pl_Buffer: public Pipeline
class Pl_Buffer: public Pipeline
{ {
public: public:
Pl_Buffer(char const* identifier, Pipeline* next = 0); Pl_Buffer(char const* identifier, Pipeline* next = 0);

View File

@ -13,8 +13,7 @@
#include <qpdf/Pipeline.hh> #include <qpdf/Pipeline.hh>
DLL_EXPORT class DLL_EXPORT Pl_Count: public Pipeline
class Pl_Count: public Pipeline
{ {
public: public:
Pl_Count(char const* identifier, Pipeline* next); Pl_Count(char const* identifier, Pipeline* next);

View File

@ -16,8 +16,7 @@
#include <qpdf/Pipeline.hh> #include <qpdf/Pipeline.hh>
DLL_EXPORT class DLL_EXPORT Pl_Discard: public Pipeline
class Pl_Discard: public Pipeline
{ {
public: public:
Pl_Discard(); Pl_Discard();

View File

@ -12,8 +12,7 @@
#include <zlib.h> #include <zlib.h>
DLL_EXPORT class DLL_EXPORT Pl_Flate: public Pipeline
class Pl_Flate: public Pipeline
{ {
public: public:
static int const def_bufsize = 65536; static int const def_bufsize = 65536;

View File

@ -18,8 +18,7 @@
// This pipeline is reusable. // This pipeline is reusable.
// //
DLL_EXPORT class DLL_EXPORT Pl_StdioFile: public Pipeline
class Pl_StdioFile: public Pipeline
{ {
public: public:
// f is externally maintained; this class just writes to and // f is externally maintained; this class just writes to and

View File

@ -25,8 +25,7 @@ class BitStream;
class BitWriter; class BitWriter;
class QPDFExc; class QPDFExc;
DLL_EXPORT class DLL_EXPORT QPDF
class QPDF
{ {
public: public:
QPDF(); QPDF();

View File

@ -11,8 +11,7 @@
#include <qpdf/DLL.hh> #include <qpdf/DLL.hh>
#include <stdexcept> #include <stdexcept>
DLL_EXPORT class DLL_EXPORT QPDFExc: public std::runtime_error
class QPDFExc: public std::runtime_error
{ {
public: public:
QPDFExc(std::string const& message); QPDFExc(std::string const& message);

View File

@ -12,8 +12,7 @@
#include <string> #include <string>
DLL_EXPORT class DLL_EXPORT QPDFObject
class QPDFObject
{ {
public: public:
virtual ~QPDFObject() {} virtual ~QPDFObject() {}

View File

@ -23,8 +23,7 @@
class Pipeline; class Pipeline;
class QPDF; class QPDF;
DLL_EXPORT class DLL_EXPORT QPDFObjectHandle
class QPDFObjectHandle
{ {
public: public:
QPDFObjectHandle(); QPDFObjectHandle();

View File

@ -13,8 +13,7 @@
#include <string> #include <string>
#include <stdio.h> #include <stdio.h>
DLL_EXPORT class DLL_EXPORT QPDFTokenizer
class QPDFTokenizer
{ {
public: public:
enum token_type_e enum token_type_e

View File

@ -31,8 +31,7 @@ class QPDF;
class QPDFObjectHandle; class QPDFObjectHandle;
class Pl_Count; class Pl_Count;
DLL_EXPORT class DLL_EXPORT QPDFWriter
class QPDFWriter
{ {
public: public:
// Passing null as filename means write to stdout. QPDFWriter // Passing null as filename means write to stdout. QPDFWriter

View File

@ -10,8 +10,7 @@
#include <qpdf/DLL.hh> #include <qpdf/DLL.hh>
DLL_EXPORT class DLL_EXPORT QPDFXRefEntry
class QPDFXRefEntry
{ {
public: public:
// Type constants are from the PDF spec section // Type constants are from the PDF spec section

View File

@ -5,8 +5,7 @@
#include <qpdf/DLL.hh> #include <qpdf/DLL.hh>
DLL_EXPORT class DLL_EXPORT BitStream
class BitStream
{ {
public: public:
BitStream(unsigned char const* p, int nbytes); BitStream(unsigned char const* p, int nbytes);

View File

@ -7,8 +7,7 @@
class Pipeline; class Pipeline;
DLL_EXPORT class DLL_EXPORT BitWriter
class BitWriter
{ {
public: public:
// Write bits to the pipeline. It is the caller's responsibility // Write bits to the pipeline. It is the caller's responsibility

View File

@ -8,8 +8,7 @@
# include <inttypes.h> # include <inttypes.h>
#endif #endif
DLL_EXPORT class DLL_EXPORT MD5
class MD5
{ {
public: public:
typedef unsigned char Digest[16]; typedef unsigned char Digest[16];

View File

@ -17,8 +17,7 @@
// Note: this class does not encapsulate all features of the PCRE // Note: this class does not encapsulate all features of the PCRE
// package -- only those that I actually need right now are here. // package -- only those that I actually need right now are here.
DLL_EXPORT class DLL_EXPORT PCRE
class PCRE
{ {
public: public:
// This is thrown when an attempt is made to access a non-existent // This is thrown when an attempt is made to access a non-existent

View File

@ -3,8 +3,7 @@
#include <qpdf/Pipeline.hh> #include <qpdf/Pipeline.hh>
DLL_EXPORT class DLL_EXPORT Pl_ASCII85Decoder: public Pipeline
class Pl_ASCII85Decoder: public Pipeline
{ {
public: public:
Pl_ASCII85Decoder(char const* identifier, Pipeline* next); Pl_ASCII85Decoder(char const* identifier, Pipeline* next);

View File

@ -3,8 +3,7 @@
#include <qpdf/Pipeline.hh> #include <qpdf/Pipeline.hh>
DLL_EXPORT class DLL_EXPORT Pl_ASCIIHexDecoder: public Pipeline
class Pl_ASCIIHexDecoder: public Pipeline
{ {
public: public:
Pl_ASCIIHexDecoder(char const* identifier, Pipeline* next); Pl_ASCIIHexDecoder(char const* identifier, Pipeline* next);

View File

@ -6,8 +6,7 @@
#include <qpdf/Buffer.hh> #include <qpdf/Buffer.hh>
#include <vector> #include <vector>
DLL_EXPORT class DLL_EXPORT Pl_LZWDecoder: public Pipeline
class Pl_LZWDecoder: public Pipeline
{ {
public: public:
Pl_LZWDecoder(char const* identifier, Pipeline* next, Pl_LZWDecoder(char const* identifier, Pipeline* next,

View File

@ -12,8 +12,7 @@
#include <qpdf/Pipeline.hh> #include <qpdf/Pipeline.hh>
#include <qpdf/MD5.hh> #include <qpdf/MD5.hh>
DLL_EXPORT class DLL_EXPORT Pl_MD5: public Pipeline
class Pl_MD5: public Pipeline
{ {
public: public:
Pl_MD5(char const* identifier, Pipeline* next); Pl_MD5(char const* identifier, Pipeline* next);

View File

@ -16,8 +16,7 @@
#include <qpdf/Pipeline.hh> #include <qpdf/Pipeline.hh>
DLL_EXPORT class DLL_EXPORT Pl_PNGFilter: public Pipeline
class Pl_PNGFilter: public Pipeline
{ {
public: public:
// Encoding is not presently supported // Encoding is not presently supported

View File

@ -5,8 +5,7 @@
#include <qpdf/RC4.hh> #include <qpdf/RC4.hh>
DLL_EXPORT class DLL_EXPORT Pl_RC4: public Pipeline
class Pl_RC4: public Pipeline
{ {
public: public:
static int const def_bufsize = 65536; static int const def_bufsize = 65536;