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 #include "../../public/fpdf_ext.h" |
7 #include "../include/fsdk_define.h" | 8 #include "../include/fsdk_define.h" |
8 #include "../include/fpdf_ext.h" | |
9 | 9 |
10 #define FPDFSDK_UNSUPPORT_CALL 100 | 10 #define FPDFSDK_UNSUPPORT_CALL 100 |
11 | 11 |
12 class CFSDK_UnsupportInfo_Adapter | 12 class CFSDK_UnsupportInfo_Adapter |
13 { | 13 { |
14 public: | 14 public: |
15 CFSDK_UnsupportInfo_Adapter(UNSUPPORT_INFO* unsp_info){ m_unsp_info = un
sp_info;} | 15 CFSDK_UnsupportInfo_Adapter(UNSUPPORT_INFO* unsp_info){ m_unsp_info = un
sp_info;} |
16 // FX_BOOL NeedToPauseNow(); | 16 // FX_BOOL NeedToPauseNow(); |
17 void ReportError(int nErrorType); | 17 void ReportError(int nErrorType); |
18 | 18 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 return PAGEMODE_USETHUMBS; | 232 return PAGEMODE_USETHUMBS; |
233 else if (strPageMode.EqualNoCase(FX_BSTR("FullScreen"))) | 233 else if (strPageMode.EqualNoCase(FX_BSTR("FullScreen"))) |
234 return PAGEMODE_FULLSCREEN; | 234 return PAGEMODE_FULLSCREEN; |
235 else if (strPageMode.EqualNoCase(FX_BSTR("UseOC"))) | 235 else if (strPageMode.EqualNoCase(FX_BSTR("UseOC"))) |
236 return PAGEMODE_USEOC; | 236 return PAGEMODE_USEOC; |
237 else if (strPageMode.EqualNoCase(FX_BSTR("UseAttachments"))) | 237 else if (strPageMode.EqualNoCase(FX_BSTR("UseAttachments"))) |
238 return PAGEMODE_USEATTACHMENTS; | 238 return PAGEMODE_USEATTACHMENTS; |
239 | 239 |
240 return PAGEMODE_UNKNOWN; | 240 return PAGEMODE_UNKNOWN; |
241 } | 241 } |
OLD | NEW |