summaryrefslogtreecommitdiff
path: root/noncore/unsupported/qpdf/xpdf/Link.h
Unidiff
Diffstat (limited to 'noncore/unsupported/qpdf/xpdf/Link.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/qpdf/xpdf/Link.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/noncore/unsupported/qpdf/xpdf/Link.h b/noncore/unsupported/qpdf/xpdf/Link.h
index 0ad4581..7b5ba86 100644
--- a/noncore/unsupported/qpdf/xpdf/Link.h
+++ b/noncore/unsupported/qpdf/xpdf/Link.h
@@ -1,11 +1,11 @@
1//======================================================================== 1//========================================================================
2// 2//
3// Link.h 3// Link.h
4// 4//
5// Copyright 1996 Derek B. Noonburg 5// Copyright 1996-2002 Glyph & Cog, LLC
6// 6//
7//======================================================================== 7//========================================================================
8 8
9#ifndef LINK_H 9#ifndef LINK_H
10#define LINK_H 10#define LINK_H
11 11
@@ -60,16 +60,14 @@ enum LinkDestKind {
60 destFitBV 60 destFitBV
61}; 61};
62 62
63class LinkDest { 63class LinkDest {
64public: 64public:
65 65
66 // Build a LinkDest from the array. If <pageIsRef> is true, the 66 // Build a LinkDest from the array.
67 // page is specified by an object reference; otherwise the page is 67 LinkDest(Array *a);
68 // specified by a (zero-relative) page number.
69 LinkDest(Array *a, GBool pageIsRef1);
70 68
71 // Copy a LinkDest. 69 // Copy a LinkDest.
72 LinkDest *copy() { return new LinkDest(this); } 70 LinkDest *copy() { return new LinkDest(this); }
73 71
74 // Was the LinkDest created successfully? 72 // Was the LinkDest created successfully?
75 GBool isOk() { return ok; } 73 GBool isOk() { return ok; }