Commit 1fdd86a04924e4ab9543133b74df3322cffbd358

Authored by Jay Berkenbilt
1 parent 5708b5d0

Move Pl_QPDFTokenizer to public interface

libqpdf/qpdf/Pl_QPDFTokenizer.hh renamed to include/qpdf/Pl_QPDFTokenizer.hh
  1 +// Copyright (c) 2005-2018 Jay Berkenbilt
  2 +//
  3 +// This file is part of qpdf.
  4 +//
  5 +// Licensed under the Apache License, Version 2.0 (the "License");
  6 +// you may not use this file except in compliance with the License.
  7 +// You may obtain a copy of the License at
  8 +//
  9 +// http://www.apache.org/licenses/LICENSE-2.0
  10 +//
  11 +// Unless required by applicable law or agreed to in writing, software
  12 +// distributed under the License is distributed on an "AS IS" BASIS,
  13 +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14 +// See the License for the specific language governing permissions and
  15 +// limitations under the License.
  16 +//
  17 +// Versions of qpdf prior to version 7 were released under the terms
  18 +// of version 2.0 of the Artistic License. At your option, you may
  19 +// continue to consider qpdf to be licensed under those terms. Please
  20 +// see the manual for additional information.
  21 +
1 22 #ifndef __PL_QPDFTOKENIZER_HH__
2 23 #define __PL_QPDFTOKENIZER_HH__
3 24  
... ... @@ -12,6 +33,11 @@
12 33 // incoming content will be included in exactly one token and passed
13 34 // downstream.
14 35  
  36 +// This is a very low-level interface for working with token filters.
  37 +// Most code will want to use QPDFObjectHandle::filterPageContents or
  38 +// QPDFObjectHandle::addTokenFilter. See QPDFObjectHandle.hh for
  39 +// details.
  40 +
15 41 class Pl_QPDFTokenizer: public Pipeline
16 42 {
17 43 public:
... ...