OLD | NEW |
| (Empty) |
1 // Copyright 2016 PDFium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
6 | |
7 #ifndef FPDFSDK_CPDFSDK_ANNOTITERATOR_H_ | |
8 #define FPDFSDK_CPDFSDK_ANNOTITERATOR_H_ | |
9 | |
10 #include <vector> | |
11 | |
12 class CPDFSDK_Annot; | |
13 class CPDFSDK_PageView; | |
14 | |
15 class CPDFSDK_AnnotIterator { | |
16 public: | |
17 CPDFSDK_AnnotIterator(CPDFSDK_PageView* pPageView, bool bReverse); | |
18 ~CPDFSDK_AnnotIterator(); | |
19 | |
20 CPDFSDK_Annot* Next(); | |
21 | |
22 private: | |
23 CPDFSDK_Annot* NextAnnot(); | |
24 CPDFSDK_Annot* PrevAnnot(); | |
25 | |
26 std::vector<CPDFSDK_Annot*> m_iteratorAnnotList; | |
27 const bool m_bReverse; | |
28 std::size_t m_pos; | |
29 }; | |
30 | |
31 #endif // FPDFSDK_CPDFSDK_ANNOTITERATOR_H_ | |
OLD | NEW |