OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef CORE_FPDFAPI_PARSER_CPDF_OBJECT_H_ | 7 #ifndef CORE_FPDFAPI_PARSER_CPDF_OBJECT_H_ |
8 #define CORE_FPDFAPI_PARSER_CPDF_OBJECT_H_ | 8 #define CORE_FPDFAPI_PARSER_CPDF_OBJECT_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 bool bDirect, | 111 bool bDirect, |
112 std::set<const CPDF_Object*>* pVisited) const; | 112 std::set<const CPDF_Object*>* pVisited) const; |
113 | 113 |
114 uint32_t m_ObjNum; | 114 uint32_t m_ObjNum; |
115 uint32_t m_GenNum; | 115 uint32_t m_GenNum; |
116 | 116 |
117 private: | 117 private: |
118 CPDF_Object(const CPDF_Object& src) {} | 118 CPDF_Object(const CPDF_Object& src) {} |
119 }; | 119 }; |
120 | 120 |
| 121 using UniqueObject = std::unique_ptr<CPDF_Object, ReleaseDeleter<CPDF_Object>>; |
| 122 |
121 #endif // CORE_FPDFAPI_PARSER_CPDF_OBJECT_H_ | 123 #endif // CORE_FPDFAPI_PARSER_CPDF_OBJECT_H_ |
OLD | NEW |