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 FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ | 7 #ifndef FPDFSDK_CPDFSDK_ANNOT_H_ |
8 #define FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ | 8 #define FPDFSDK_CPDFSDK_ANNOT_H_ |
9 | 9 |
10 #include "core/fpdfdoc/cpdf_aaction.h" | 10 #include "core/fpdfdoc/cpdf_aaction.h" |
11 #include "core/fpdfdoc/cpdf_annot.h" | 11 #include "core/fpdfdoc/cpdf_annot.h" |
12 #include "core/fpdfdoc/cpdf_defaultappearance.h" | 12 #include "core/fpdfdoc/cpdf_defaultappearance.h" |
13 #include "core/fxcrt/cfx_observable.h" | 13 #include "core/fxcrt/cfx_observable.h" |
14 #include "core/fxcrt/fx_basic.h" | 14 #include "core/fxcrt/fx_basic.h" |
15 #include "fpdfsdk/cfx_systemhandler.h" | 15 #include "fpdfsdk/cfx_systemhandler.h" |
16 #include "fpdfsdk/include/fsdk_common.h" | 16 #include "fpdfsdk/fsdk_common.h" |
17 #include "fpdfsdk/include/fsdk_define.h" | 17 #include "fpdfsdk/fsdk_define.h" |
18 | 18 |
19 class CFX_Matrix; | 19 class CFX_Matrix; |
20 class CFX_RenderDevice; | 20 class CFX_RenderDevice; |
21 class CPDF_Page; | 21 class CPDF_Page; |
22 class CPDF_RenderOptions; | 22 class CPDF_RenderOptions; |
23 class CPDFSDK_PageView; | 23 class CPDFSDK_PageView; |
24 | 24 |
25 class CPDFSDK_Annot : public CFX_Observable<CPDFSDK_Annot> { | 25 class CPDFSDK_Annot : public CFX_Observable<CPDFSDK_Annot> { |
26 public: | 26 public: |
27 explicit CPDFSDK_Annot(CPDFSDK_PageView* pPageView); | 27 explicit CPDFSDK_Annot(CPDFSDK_PageView* pPageView); |
(...skipping 27 matching lines...) Expand all Loading... |
55 CPDFSDK_PageView* GetPageView() const { return m_pPageView; } | 55 CPDFSDK_PageView* GetPageView() const { return m_pPageView; } |
56 | 56 |
57 FX_BOOL IsSelected(); | 57 FX_BOOL IsSelected(); |
58 void SetSelected(FX_BOOL bSelected); | 58 void SetSelected(FX_BOOL bSelected); |
59 | 59 |
60 protected: | 60 protected: |
61 CPDFSDK_PageView* m_pPageView; | 61 CPDFSDK_PageView* m_pPageView; |
62 FX_BOOL m_bSelected; | 62 FX_BOOL m_bSelected; |
63 }; | 63 }; |
64 | 64 |
65 #endif // FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ | 65 #endif // FPDFSDK_CPDFSDK_ANNOT_H_ |
OLD | NEW |