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_FFAPP_H_ | 7 #ifndef XFA_FFAPP_H_ |
8 #define XFA_FFAPP_H_ | 8 #define XFA_FFAPP_H_ |
9 | 9 |
10 class CXFA_FileRead : public IFX_FileRead { | 10 class CXFA_FileRead : public IFX_FileRead { |
(...skipping 27 matching lines...) Expand all Loading... |
38 CPDF_Document* pPDFDoc) override; | 38 CPDF_Document* pPDFDoc) override; |
39 IXFA_AppProvider* GetAppProvider() override { return m_pProvider; } | 39 IXFA_AppProvider* GetAppProvider() override { return m_pProvider; } |
40 void SetDefaultFontMgr(IXFA_FontMgr* pFontMgr) override; | 40 void SetDefaultFontMgr(IXFA_FontMgr* pFontMgr) override; |
41 IXFA_MenuHandler* GetMenuHandler() override; | 41 IXFA_MenuHandler* GetMenuHandler() override; |
42 | 42 |
43 // IFWL_AdapterNative: | 43 // IFWL_AdapterNative: |
44 IFWL_AdapterWidgetMgr* GetWidgetMgr( | 44 IFWL_AdapterWidgetMgr* GetWidgetMgr( |
45 IFWL_WidgetMgrDelegate* pDelegate) override; | 45 IFWL_WidgetMgrDelegate* pDelegate) override; |
46 IFWL_AdapterThreadMgr* GetThreadMgr() override; | 46 IFWL_AdapterThreadMgr* GetThreadMgr() override; |
47 IFWL_AdapterTimerMgr* GetTimerMgr() override; | 47 IFWL_AdapterTimerMgr* GetTimerMgr() override; |
48 IFWL_AdapterCursorMgr* GetCursorMgr() override; | |
49 IFWL_AdapterMonitorMgr* GetMonitorMgr() override; | |
50 IFWL_AdapterClipboardMgr* GetClipboardMgr() override; | |
51 | 48 |
52 CXFA_FontMgr* GetXFAFontMgr(); | 49 CXFA_FontMgr* GetXFAFontMgr(); |
53 IFX_FontMgr* GetFDEFontMgr(); | 50 IFX_FontMgr* GetFDEFontMgr(); |
54 CXFA_FWLTheme* GetFWLTheme(); | 51 CXFA_FWLTheme* GetFWLTheme(); |
55 IFWL_WidgetMgrDelegate* GetWidgetMgrDelegate() { | 52 IFWL_WidgetMgrDelegate* GetWidgetMgrDelegate() { |
56 return m_pWidgetMgrDelegate; | 53 return m_pWidgetMgrDelegate; |
57 } | 54 } |
58 | 55 |
59 protected: | 56 protected: |
60 CXFA_FFDocHandler* m_pDocHandler; | 57 CXFA_FFDocHandler* m_pDocHandler; |
61 IFWL_App* m_pFWLApp; | 58 IFWL_App* m_pFWLApp; |
62 CXFA_FWLTheme* m_pFWLTheme; | 59 CXFA_FWLTheme* m_pFWLTheme; |
63 IXFA_AppProvider* m_pProvider; | 60 IXFA_AppProvider* m_pProvider; |
64 CXFA_FontMgr* m_pFontMgr; | 61 CXFA_FontMgr* m_pFontMgr; |
65 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ | 62 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ |
66 IFX_FontSourceEnum* m_pFontSource; | 63 IFX_FontSourceEnum* m_pFontSource; |
67 #endif | 64 #endif |
68 CXFA_FWLAdapterWidgetMgr* m_pAdapterWidgetMgr; | 65 CXFA_FWLAdapterWidgetMgr* m_pAdapterWidgetMgr; |
69 IFWL_WidgetMgrDelegate* m_pWidgetMgrDelegate; | 66 IFWL_WidgetMgrDelegate* m_pWidgetMgrDelegate; |
70 IFX_FontMgr* m_pFDEFontMgr; | 67 IFX_FontMgr* m_pFDEFontMgr; |
71 CXFA_FFMenuHandler* m_pMenuHandler; | 68 CXFA_FFMenuHandler* m_pMenuHandler; |
72 CFWL_SDAdapterThreadMgr* m_pAdapterThreadMgr; | 69 CFWL_SDAdapterThreadMgr* m_pAdapterThreadMgr; |
73 }; | 70 }; |
74 | 71 |
75 #endif // XFA_FFAPP_H_ | 72 #endif // XFA_FFAPP_H_ |
OLD | NEW |