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