| 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_FWL_CORE_IFWL_APP_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_APP_H_ |
| 8 #define XFA_FWL_CORE_IFWL_APP_H_ | 8 #define XFA_FWL_CORE_IFWL_APP_H_ |
| 9 | 9 |
| 10 // The FWL app code contains three parallel classes, which reference each | 10 // The FWL app code contains three parallel classes, which reference each |
| 11 // other via pointers as follows: | 11 // other via pointers as follows: |
| 12 // | 12 // |
| 13 // m_pIface m_pImpl | 13 // m_pIface m_pImpl |
| 14 // CXFA_FFApp ------------> IFWL_App -----------> CFWL_AppImp | 14 // CXFA_FFApp ------------> IFWL_App -----------> CFWL_AppImp |
| 15 // <----------- | 15 // <----------- |
| 16 // m_pIface | 16 // m_pIface |
| 17 | 17 |
| 18 #include <memory> | 18 #include <memory> |
| 19 | 19 |
| 20 #include "core/fxcrt/include/fx_string.h" | 20 #include "core/fxcrt/fx_string.h" |
| 21 #include "xfa/fwl/core/fwl_appimp.h" | 21 #include "xfa/fwl/core/fwl_appimp.h" |
| 22 #include "xfa/fwl/core/fwl_error.h" | 22 #include "xfa/fwl/core/fwl_error.h" |
| 23 | 23 |
| 24 class CFWL_NoteDriver; | 24 class CFWL_NoteDriver; |
| 25 class CFWL_WidgetMgr; | 25 class CFWL_WidgetMgr; |
| 26 class CXFA_FFApp; | 26 class CXFA_FFApp; |
| 27 class CXFA_FWLAdapterWidgetMgr; | 27 class CXFA_FWLAdapterWidgetMgr; |
| 28 class IFWL_ThemeProvider; | 28 class IFWL_ThemeProvider; |
| 29 class IFWL_Widget; | 29 class IFWL_Widget; |
| 30 | 30 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 58 std::unique_ptr<CFWL_AppImp> m_pImpl; | 58 std::unique_ptr<CFWL_AppImp> m_pImpl; |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 IFWL_App* FWL_GetApp(); | 61 IFWL_App* FWL_GetApp(); |
| 62 void FWL_SetApp(IFWL_App* pApp); | 62 void FWL_SetApp(IFWL_App* pApp); |
| 63 | 63 |
| 64 CXFA_FFApp* FWL_GetAdapterNative(); | 64 CXFA_FFApp* FWL_GetAdapterNative(); |
| 65 CXFA_FWLAdapterWidgetMgr* FWL_GetAdapterWidgetMgr(); | 65 CXFA_FWLAdapterWidgetMgr* FWL_GetAdapterWidgetMgr(); |
| 66 | 66 |
| 67 #endif // XFA_FWL_CORE_IFWL_APP_H_ | 67 #endif // XFA_FWL_CORE_IFWL_APP_H_ |
| OLD | NEW |