| 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_FPDF_PAGE_CPDF_PAGEOBJECTLIST_H_ | 7 #ifndef CORE_FPDFAPI_PAGE_CPDF_PAGEOBJECTLIST_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_PAGEOBJECTLIST_H_ | 8 #define CORE_FPDFAPI_PAGE_CPDF_PAGEOBJECTLIST_H_ |
| 9 | 9 |
| 10 #include <deque> | 10 #include <deque> |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 class CPDF_PageObject; | 13 class CPDF_PageObject; |
| 14 | 14 |
| 15 class CPDF_PageObjectList | 15 class CPDF_PageObjectList |
| 16 : public std::deque<std::unique_ptr<CPDF_PageObject>> { | 16 : public std::deque<std::unique_ptr<CPDF_PageObject>> { |
| 17 public: | 17 public: |
| 18 CPDF_PageObject* GetPageObjectByIndex(int index); | 18 CPDF_PageObject* GetPageObjectByIndex(int index); |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_PAGEOBJECTLIST_H_ | 21 #endif // CORE_FPDFAPI_PAGE_CPDF_PAGEOBJECTLIST_H_ |
| OLD | NEW |