diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-01-23 15:38:05 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-01-23 15:38:05 +0100 |
commit | bfda71774907263f5263a3ae2e8c8fa40fbc2cca (patch) | |
tree | 0861f846c89f67fc18b11793fdb662313c5dfd9e /libqpdf/qpdf | |
parent | 913eb5ac35011b3d28c653b6f89d936c8f99c844 (diff) | |
download | qpdf-bfda71774907263f5263a3ae2e8c8fa40fbc2cca.tar.zst |
Cosmetic changes to be closer to Adobe terminology
Change object type Keyword to Operator, and place the order of the
object types in object_type_e in the same order as they are mentioned
in the PDF specification.
Note that this change only breaks backward compatibility with code
that has not yet been released.
Diffstat (limited to 'libqpdf/qpdf')
-rw-r--r-- | libqpdf/qpdf/QPDF_Operator.hh (renamed from libqpdf/qpdf/QPDF_Keyword.hh) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libqpdf/qpdf/QPDF_Keyword.hh b/libqpdf/qpdf/QPDF_Operator.hh index 78ae5791..9d18ad37 100644 --- a/libqpdf/qpdf/QPDF_Keyword.hh +++ b/libqpdf/qpdf/QPDF_Operator.hh @@ -1,13 +1,13 @@ -#ifndef __QPDF_KEYWORD_HH__ -#define __QPDF_KEYWORD_HH__ +#ifndef __QPDF_OPERATOR_HH__ +#define __QPDF_OPERATOR_HH__ #include <qpdf/QPDFObject.hh> -class QPDF_Keyword: public QPDFObject +class QPDF_Operator: public QPDFObject { public: - QPDF_Keyword(std::string const& val); - virtual ~QPDF_Keyword(); + QPDF_Operator(std::string const& val); + virtual ~QPDF_Operator(); virtual std::string unparse(); virtual QPDFObject::object_type_e getTypeCode() const; virtual char const* getTypeName() const; @@ -17,4 +17,4 @@ class QPDF_Keyword: public QPDFObject std::string val; }; -#endif // __QPDF_KEYWORD_HH__ +#endif // __QPDF_OPERATOR_HH__ |