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 #include "xfa/include/fwl/lightwidget/app.h" | 7 #include "xfa/include/fwl/lightwidget/app.h" |
8 | 8 |
9 #include "core/include/fxcrt/fx_coordinates.h" | 9 #include "core/include/fxcrt/fx_coordinates.h" |
10 #include "xfa/include/fwl/core/fwl_app.h" | 10 #include "xfa/include/fwl/core/fwl_app.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 m_pTheme = new CFWL_Theme; | 24 m_pTheme = new CFWL_Theme; |
25 m_pTheme->Initialize(); | 25 m_pTheme->Initialize(); |
26 m_pIface->SetThemeProvider(m_pTheme); | 26 m_pIface->SetThemeProvider(m_pTheme); |
27 return m_pIface->Initialize(); | 27 return m_pIface->Initialize(); |
28 } | 28 } |
29 FWL_ERR CFWL_App::Exit(int32_t iExitCode) { | 29 FWL_ERR CFWL_App::Exit(int32_t iExitCode) { |
30 if (!m_pIface) | 30 if (!m_pIface) |
31 return FWL_ERR_Indefinite; | 31 return FWL_ERR_Indefinite; |
32 return m_pIface->Exit(iExitCode); | 32 return m_pIface->Exit(iExitCode); |
33 } | 33 } |
OLD | NEW |