OLD | NEW |
1 #ifndef __DEFINED__SkPdfEncryptionCommonDictionary | 1 /* |
2 #define __DEFINED__SkPdfEncryptionCommonDictionary | 2 * Copyright 2013 Google Inc. |
3 | 3 |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #ifndef SkPdfEncryptionCommonDictionary_DEFINED |
| 9 #define SkPdfEncryptionCommonDictionary_DEFINED |
| 10 |
4 #include "SkPdfDictionary_autogen.h" | 11 #include "SkPdfDictionary_autogen.h" |
5 | 12 |
6 // Entries common to all encryption dictionaries | 13 // Entries common to all encryption dictionaries |
7 class SkPdfEncryptionCommonDictionary : public SkPdfDictionary { | 14 class SkPdfEncryptionCommonDictionary : public SkPdfDictionary { |
8 public: | 15 public: |
9 public: | 16 public: |
10 SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary() {return this;
} | 17 SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary() {return this;
} |
11 const SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary() const {
return this;} | 18 const SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary() const {
return this;} |
12 | 19 |
13 private: | 20 private: |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 public: | 519 public: |
513 bool valid() const {return true;} | 520 bool valid() const {return true;} |
514 SkString Filter(SkPdfNativeDoc* doc); | 521 SkString Filter(SkPdfNativeDoc* doc); |
515 bool has_Filter() const; | 522 bool has_Filter() const; |
516 double V(SkPdfNativeDoc* doc); | 523 double V(SkPdfNativeDoc* doc); |
517 bool has_V() const; | 524 bool has_V() const; |
518 int64_t Length(SkPdfNativeDoc* doc); | 525 int64_t Length(SkPdfNativeDoc* doc); |
519 bool has_Length() const; | 526 bool has_Length() const; |
520 }; | 527 }; |
521 | 528 |
522 #endif // __DEFINED__NATIVE_SkPdfEncryptionCommonDictionary | 529 #endif // SkPdfEncryptionCommonDictionary_DEFINED |
OLD | NEW |