Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Side by Side Diff: xfa/include/fwl/core/fwl_app.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/include/fwl/basewidget/fxmath_barcode.h ('k') | xfa/include/fwl/core/fwl_content.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 _FWL_APP_H 7 #ifndef _FWL_APP_H
8 #define _FWL_APP_H 8 #define _FWL_APP_H
9 class IFWL_NoteThread; 9 class IFWL_NoteThread;
10 class IFWL_AdapterNative; 10 class IFWL_AdapterNative;
11 class IFWL_Widget; 11 class IFWL_Widget;
12 class IFWL_WidgetMgr; 12 class IFWL_WidgetMgr;
13 class IFWL_ThemeProvider; 13 class IFWL_ThemeProvider;
14 class IFWL_AdapterWidgetMgr; 14 class IFWL_AdapterWidgetMgr;
15 class IFWL_App; 15 class IFWL_App;
16 class IFWL_App : public IFWL_NoteThread 16 class IFWL_App : public IFWL_NoteThread
17 { 17 {
18 public: 18 public:
19 static IFWL_App* Create(IFWL_AdapterNative *pAdapter); 19 static IFWL_App* Create(IFWL_AdapterNative *pAdapter);
20 virtual FWL_ERR Initialize() = 0; 20 virtual FWL_ERR Initialize() = 0;
21 virtual FWL_ERR Finalize() = 0; 21 virtual FWL_ERR Finalize() = 0;
22 virtual IFWL_AdapterNative* GetAdapterNative() = 0; 22 virtual IFWL_AdapterNative* GetAdapterNative() = 0;
23 virtual IFWL_WidgetMgr* GetWidgetMgr() = 0; 23 virtual IFWL_WidgetMgr* GetWidgetMgr() = 0;
24 virtual FWL_ERR SetThemeProvider(IFWL_ThemeProvi der* pThemeProvider) = 0; 24 virtual FWL_ERR SetThemeProvider(IFWL_ThemeProvi der* pThemeProvider) = 0;
25 virtual FWL_ERR» » » » Exit(FX_INT32 iExitCode = 0) = 0 ; 25 virtual FWL_ERR» » » » Exit(int32_t iExitCode = 0) = 0;
26 }; 26 };
27 IFWL_App* FWL_GetApp(); 27 IFWL_App* FWL_GetApp();
28 void FWL_SetApp(IFWL_App *pApp); 28 void FWL_SetApp(IFWL_App *pApp);
29 IFWL_AdapterNative* FWL_GetAdapterNative(); 29 IFWL_AdapterNative* FWL_GetAdapterNative();
30 IFWL_AdapterWidgetMgr* FWL_GetAdapterWidgetMgr(); 30 IFWL_AdapterWidgetMgr* FWL_GetAdapterWidgetMgr();
31 IFWL_ThemeProvider* FWL_GetThemeProvider(); 31 IFWL_ThemeProvider* FWL_GetThemeProvider();
32 extern FWL_ERR FWL_Execute(FX_WSTR wsExecutable, FX_WSTR wsParameters); 32 extern FWL_ERR FWL_Execute(FX_WSTR wsExecutable, FX_WSTR wsParameters);
33 FWL_ERR FWL_SetFullScreen(IFWL_Widget *pWidget, FX_BOOL bFullScreen); 33 FWL_ERR FWL_SetFullScreen(IFWL_Widget *pWidget, FX_BOOL bFullScreen);
34 FX_BOOL FWL_AppIsActived(); 34 FX_BOOL FWL_AppIsActived();
35 #endif 35 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/basewidget/fxmath_barcode.h ('k') | xfa/include/fwl/core/fwl_content.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698