Merge XFA to PDFium master at 4dc95e7 on 10/28/2014
[pdfium.git] / xfa / src / fwl / src / core / include / fwl_appimp.h
1 // Copyright 2014 PDFium Authors. All rights reserved.\r
2 // Use of this source code is governed by a BSD-style license that can be\r
3 // found in the LICENSE file.\r
4 \r
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com\r
6 \r
7 #ifndef _FWL_APP_IMP_H\r
8 #define _FWL_APP_IMP_H\r
9 class CFWL_NoteThread;\r
10 class CFWL_WidgetMgr;\r
11 class IFWL_AdapterNative;\r
12 class IFWL_WidgetMgr;\r
13 class IFWL_ThemeProvider;\r
14 class IFWL_App;\r
15 class CFWL_AppImp;\r
16 class CFWL_AppImp : public CFWL_NoteThread\r
17 {\r
18 public:\r
19     CFWL_AppImp(IFWL_AdapterNative *pAdapter);\r
20     virtual ~CFWL_AppImp();\r
21     virtual FWL_ERR                             Initialize();\r
22     virtual FWL_ERR                             Finalize();\r
23     virtual IFWL_AdapterNative* GetAdapterNative();\r
24     virtual IFWL_WidgetMgr*             GetWidgetMgr();\r
25     virtual FWL_ERR                             SetThemeProvider(IFWL_ThemeProvider* pThemeProvider);\r
26     virtual FWL_ERR                             Exit(FX_INT32 iExitCode = 0);\r
27     IFWL_ThemeProvider*                 GetThemeProvider();\r
28 protected:\r
29     CFWL_WidgetMgr              *m_pWidgetMgr;\r
30     IFWL_AdapterNative  *m_pAdapterNative;\r
31     IFWL_ThemeProvider  *m_pThemeProvider;\r
32     FX_BOOL                             m_bFuelAdapter;\r
33 };\r
34 #endif\r