• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef FWL_APPIMP_H_
8 #define FWL_APPIMP_H_
9 
10 #include "xfa/src/fwl/src/core/include/fwl_threadimp.h"
11 
12 class CFWL_WidgetMgr;
13 class IFWL_AdapterNative;
14 class IFWL_WidgetMgr;
15 class IFWL_ThemeProvider;
16 class IFWL_App;
17 
18 class CFWL_AppImp : public CFWL_NoteThreadImp {
19  public:
20   CFWL_AppImp(IFWL_App* pIface, IFWL_AdapterNative* pAdapter);
21   virtual ~CFWL_AppImp();
22   virtual FWL_ERR Initialize();
23   virtual FWL_ERR Finalize();
24   virtual IFWL_AdapterNative* GetAdapterNative();
25   virtual IFWL_WidgetMgr* GetWidgetMgr();
26   virtual IFWL_ThemeProvider* GetThemeProvider();
27   virtual FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider);
28   virtual FWL_ERR Exit(int32_t iExitCode = 0);
29 
30  protected:
31   CFWL_WidgetMgr* m_pWidgetMgr;
32   IFWL_AdapterNative* m_pAdapterNative;
33   IFWL_ThemeProvider* m_pThemeProvider;
34   FX_BOOL m_bFuelAdapter;
35 };
36 
37 #endif  // FWL_APPIMP_H_
38