aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFTokenizer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/QPDFTokenizer.hh')
-rw-r--r--include/qpdf/QPDFTokenizer.hh7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/qpdf/QPDFTokenizer.hh b/include/qpdf/QPDFTokenizer.hh
index de740e66..cafa9e52 100644
--- a/include/qpdf/QPDFTokenizer.hh
+++ b/include/qpdf/QPDFTokenizer.hh
@@ -13,6 +13,7 @@
#include <string>
#include <stdio.h>
+DLL_EXPORT
class QPDFTokenizer
{
public:
@@ -84,7 +85,6 @@ class QPDFTokenizer
std::string error_message;
};
- DLL_EXPORT
QPDFTokenizer();
// PDF files with version < 1.2 allowed the pound character
@@ -92,7 +92,6 @@ class QPDFTokenizer
// character was allowed only when followed by two hexadecimal
// digits. This method should be called when parsing a PDF file
// whose version is older than 1.2.
- DLL_EXPORT
void allowPoundAnywhereInName();
// Mode of operation:
@@ -103,23 +102,19 @@ class QPDFTokenizer
// It these are called when a token is available, an exception
// will be thrown.
- DLL_EXPORT
void presentCharacter(char ch);
- DLL_EXPORT
void presentEOF();
// If a token is available, return true and initialize token with
// the token, unread_char with whether or not we have to unread
// the last character, and if unread_char, ch with the character
// to unread.
- DLL_EXPORT
bool getToken(Token& token, bool& unread_char, char& ch);
// This function returns true of the current character is between
// tokens (i.e., white space that is not part of a string) or is
// part of a comment. A tokenizing filter can call this to
// determine whether to output the character.
- DLL_EXPORT
bool betweenTokens();
private: