| 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_INCLUDE_FWL_CORE_FWL_APP_H_ | 7 #ifndef XFA_INCLUDE_FWL_CORE_FWL_APP_H_ |
| 8 #define XFA_INCLUDE_FWL_CORE_FWL_APP_H_ | 8 #define XFA_INCLUDE_FWL_CORE_FWL_APP_H_ |
| 9 | 9 |
| 10 class IFWL_NoteThread; | 10 #include "core/include/fxcrt/fx_string.h" |
| 11 #include "xfa/include/fwl/core/fwl_thread.h" |
| 12 |
| 11 class IFWL_AdapterNative; | 13 class IFWL_AdapterNative; |
| 12 class IFWL_Widget; | 14 class IFWL_Widget; |
| 13 class IFWL_WidgetMgr; | 15 class IFWL_WidgetMgr; |
| 14 class IFWL_ThemeProvider; | 16 class IFWL_ThemeProvider; |
| 15 class IFWL_AdapterWidgetMgr; | 17 class IFWL_AdapterWidgetMgr; |
| 16 | 18 |
| 17 class IFWL_App : public IFWL_NoteThread { | 19 class IFWL_App : public IFWL_NoteThread { |
| 18 public: | 20 public: |
| 19 static IFWL_App* Create(IFWL_AdapterNative* pAdapter); | 21 static IFWL_App* Create(IFWL_AdapterNative* pAdapter); |
| 20 | 22 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 33 void FWL_SetApp(IFWL_App* pApp); | 35 void FWL_SetApp(IFWL_App* pApp); |
| 34 IFWL_AdapterNative* FWL_GetAdapterNative(); | 36 IFWL_AdapterNative* FWL_GetAdapterNative(); |
| 35 IFWL_AdapterWidgetMgr* FWL_GetAdapterWidgetMgr(); | 37 IFWL_AdapterWidgetMgr* FWL_GetAdapterWidgetMgr(); |
| 36 IFWL_ThemeProvider* FWL_GetThemeProvider(); | 38 IFWL_ThemeProvider* FWL_GetThemeProvider(); |
| 37 extern FWL_ERR FWL_Execute(const CFX_WideStringC& wsExecutable, | 39 extern FWL_ERR FWL_Execute(const CFX_WideStringC& wsExecutable, |
| 38 const CFX_WideStringC& wsParameters); | 40 const CFX_WideStringC& wsParameters); |
| 39 FWL_ERR FWL_SetFullScreen(IFWL_Widget* pWidget, FX_BOOL bFullScreen); | 41 FWL_ERR FWL_SetFullScreen(IFWL_Widget* pWidget, FX_BOOL bFullScreen); |
| 40 FX_BOOL FWL_AppIsActived(); | 42 FX_BOOL FWL_AppIsActived(); |
| 41 | 43 |
| 42 #endif // XFA_INCLUDE_FWL_CORE_FWL_APP_H_ | 44 #endif // XFA_INCLUDE_FWL_CORE_FWL_APP_H_ |
| OLD | NEW |