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_LIGHTWIDGET_APP_H_ | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_APP_H_ |
8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_APP_H_ | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_APP_H_ |
9 | 9 |
10 #include "xfa/include/fwl/core/fwl_error.h" | 10 #include "xfa/fwl/core/fwl_error.h" |
11 | 11 |
12 class CFWL_Theme; | 12 class CFWL_Theme; |
13 class IFWL_App; | 13 class IFWL_App; |
14 | 14 |
15 class CFWL_App { | 15 class CFWL_App { |
16 public: | 16 public: |
17 CFWL_App(); | 17 CFWL_App(); |
18 virtual ~CFWL_App(); | 18 virtual ~CFWL_App(); |
19 | 19 |
20 FWL_ERR Initialize(); | 20 FWL_ERR Initialize(); |
21 FWL_ERR Exit(int32_t iExitCode); | 21 FWL_ERR Exit(int32_t iExitCode); |
22 | 22 |
23 CFWL_Theme* GetTheme() const { return m_pTheme; } | 23 CFWL_Theme* GetTheme() const { return m_pTheme; } |
24 IFWL_App* GetInterface() const { return m_pIface; } | 24 IFWL_App* GetInterface() const { return m_pIface; } |
25 | 25 |
26 private: | 26 private: |
27 IFWL_App* m_pIface; | 27 IFWL_App* m_pIface; |
28 CFWL_Theme* m_pTheme; | 28 CFWL_Theme* m_pTheme; |
29 }; | 29 }; |
30 | 30 |
31 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_APP_H_ | 31 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_APP_H_ |
OLD | NEW |