OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_FSDK_RENDERCONTEXT_H_ | 7 #ifndef FPDFSDK_INCLUDE_FSDK_RENDERCONTEXT_H_ |
8 #define FPDFSDK_INCLUDE_FSDK_RENDERCONTEXT_H_ | 8 #define FPDFSDK_INCLUDE_FSDK_RENDERCONTEXT_H_ |
9 | 9 |
10 #include "../../public/fpdf_progressive.h" | 10 #include "../../public/fpdf_progressive.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 CPDF_AnnotList* m_pAnnots; | 24 CPDF_AnnotList* m_pAnnots; |
25 CPDF_RenderOptions* m_pOptions; | 25 CPDF_RenderOptions* m_pOptions; |
26 #ifdef _WIN32_WCE | 26 #ifdef _WIN32_WCE |
27 CFX_DIBitmap* m_pBitmap; | 27 CFX_DIBitmap* m_pBitmap; |
28 HBITMAP m_hBitmap; | 28 HBITMAP m_hBitmap; |
29 #endif | 29 #endif |
30 }; | 30 }; |
31 | 31 |
32 class IFSDK_PAUSE_Adapter : public IFX_Pause { | 32 class IFSDK_PAUSE_Adapter : public IFX_Pause { |
33 public: | 33 public: |
34 IFSDK_PAUSE_Adapter(IFSDK_PAUSE* IPause); | 34 explicit IFSDK_PAUSE_Adapter(IFSDK_PAUSE* IPause); |
35 FX_BOOL NeedToPauseNow(); | 35 ~IFSDK_PAUSE_Adapter() override; |
| 36 |
| 37 FX_BOOL NeedToPauseNow() override; |
36 | 38 |
37 private: | 39 private: |
38 IFSDK_PAUSE* m_IPause; | 40 IFSDK_PAUSE* m_IPause; |
39 }; | 41 }; |
40 | 42 |
41 #endif // FPDFSDK_INCLUDE_FSDK_RENDERCONTEXT_H_ | 43 #endif // FPDFSDK_INCLUDE_FSDK_RENDERCONTEXT_H_ |
OLD | NEW |