| 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 XFA_FXFA_INCLUDE_XFA_FFAPP_H_ | 7 #ifndef XFA_FXFA_INCLUDE_XFA_FFAPP_H_ |
| 8 #define XFA_FXFA_INCLUDE_XFA_FFAPP_H_ | 8 #define XFA_FXFA_INCLUDE_XFA_FFAPP_H_ |
| 9 | 9 |
| 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" | 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 CXFA_FFDocHandler* GetDocHandler(); | 42 CXFA_FFDocHandler* GetDocHandler(); |
| 43 CXFA_FFDoc* CreateDoc(IXFA_DocProvider* pProvider, | 43 CXFA_FFDoc* CreateDoc(IXFA_DocProvider* pProvider, |
| 44 IFX_FileRead* pStream, | 44 IFX_FileRead* pStream, |
| 45 FX_BOOL bTakeOverFile); | 45 FX_BOOL bTakeOverFile); |
| 46 CXFA_FFDoc* CreateDoc(IXFA_DocProvider* pProvider, CPDF_Document* pPDFDoc); | 46 CXFA_FFDoc* CreateDoc(IXFA_DocProvider* pProvider, CPDF_Document* pPDFDoc); |
| 47 IXFA_AppProvider* GetAppProvider() { return m_pProvider; } | 47 IXFA_AppProvider* GetAppProvider() { return m_pProvider; } |
| 48 void SetDefaultFontMgr(CXFA_DefFontMgr* pFontMgr); | 48 void SetDefaultFontMgr(CXFA_DefFontMgr* pFontMgr); |
| 49 | 49 |
| 50 // IFWL_AdapterNative: | 50 // IFWL_AdapterNative: |
| 51 IFWL_AdapterWidgetMgr* GetWidgetMgr( | 51 IFWL_AdapterWidgetMgr* GetWidgetMgr( |
| 52 IFWL_WidgetMgrDelegate* pDelegate) override; | 52 CFWL_WidgetMgrDelegate* pDelegate) override; |
| 53 IFWL_AdapterThreadMgr* GetThreadMgr() override; | 53 IFWL_AdapterThreadMgr* GetThreadMgr() override; |
| 54 IFWL_AdapterTimerMgr* GetTimerMgr() override; | 54 IFWL_AdapterTimerMgr* GetTimerMgr() override; |
| 55 | 55 |
| 56 CXFA_FontMgr* GetXFAFontMgr(); | 56 CXFA_FontMgr* GetXFAFontMgr(); |
| 57 IFX_FontMgr* GetFDEFontMgr(); | 57 IFX_FontMgr* GetFDEFontMgr(); |
| 58 CXFA_FWLTheme* GetFWLTheme(); | 58 CXFA_FWLTheme* GetFWLTheme(); |
| 59 IFWL_WidgetMgrDelegate* GetWidgetMgrDelegate() { | 59 CFWL_WidgetMgrDelegate* GetWidgetMgrDelegate() { |
| 60 return m_pWidgetMgrDelegate; | 60 return m_pWidgetMgrDelegate; |
| 61 } | 61 } |
| 62 | 62 |
| 63 protected: | 63 protected: |
| 64 CXFA_FFDocHandler* m_pDocHandler; | 64 CXFA_FFDocHandler* m_pDocHandler; |
| 65 IFWL_App* m_pFWLApp; | 65 IFWL_App* m_pFWLApp; |
| 66 CXFA_FWLTheme* m_pFWLTheme; | 66 CXFA_FWLTheme* m_pFWLTheme; |
| 67 IXFA_AppProvider* m_pProvider; | 67 IXFA_AppProvider* m_pProvider; |
| 68 CXFA_FontMgr* m_pFontMgr; | 68 CXFA_FontMgr* m_pFontMgr; |
| 69 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ | 69 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ |
| 70 CFX_FontSourceEnum_File* m_pFontSource; | 70 CFX_FontSourceEnum_File* m_pFontSource; |
| 71 #endif | 71 #endif |
| 72 CXFA_FWLAdapterWidgetMgr* m_pAdapterWidgetMgr; | 72 CXFA_FWLAdapterWidgetMgr* m_pAdapterWidgetMgr; |
| 73 IFWL_WidgetMgrDelegate* m_pWidgetMgrDelegate; | 73 CFWL_WidgetMgrDelegate* m_pWidgetMgrDelegate; |
| 74 IFX_FontMgr* m_pFDEFontMgr; | 74 IFX_FontMgr* m_pFDEFontMgr; |
| 75 CFWL_SDAdapterThreadMgr* m_pAdapterThreadMgr; | 75 CFWL_SDAdapterThreadMgr* m_pAdapterThreadMgr; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 #endif // XFA_FXFA_INCLUDE_XFA_FFAPP_H_ | 78 #endif // XFA_FXFA_INCLUDE_XFA_FFAPP_H_ |
| OLD | NEW |