| 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 "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h" | 7 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h" |
| 8 | 8 |
| 9 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h" | 9 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h" |
| 10 #include "fpdfsdk/include/cpdfdoc_environment.h" |
| 10 #include "fpdfsdk/include/fsdk_define.h" | 11 #include "fpdfsdk/include/fsdk_define.h" |
| 11 #include "fpdfsdk/include/fsdk_mgr.h" | |
| 12 #include "xfa/fxbarcode/include/BC_Library.h" | 12 #include "xfa/fxbarcode/include/BC_Library.h" |
| 13 #include "xfa/fxfa/include/xfa_ffapp.h" | 13 #include "xfa/fxfa/include/xfa_ffapp.h" |
| 14 #include "xfa/fxfa/include/xfa_fontmgr.h" | 14 #include "xfa/fxfa/include/xfa_fontmgr.h" |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| 18 CPDFXFA_App* g_pApp = nullptr; | 18 CPDFXFA_App* g_pApp = nullptr; |
| 19 | 19 |
| 20 } // namespace | 20 } // namespace |
| 21 | 21 |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 } | 348 } |
| 349 } | 349 } |
| 350 | 350 |
| 351 IFWL_AdapterTimerMgr* CPDFXFA_App::GetTimerMgr() { | 351 IFWL_AdapterTimerMgr* CPDFXFA_App::GetTimerMgr() { |
| 352 CXFA_FWLAdapterTimerMgr* pAdapter = nullptr; | 352 CXFA_FWLAdapterTimerMgr* pAdapter = nullptr; |
| 353 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); | 353 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); |
| 354 if (pEnv) | 354 if (pEnv) |
| 355 pAdapter = new CXFA_FWLAdapterTimerMgr(pEnv); | 355 pAdapter = new CXFA_FWLAdapterTimerMgr(pEnv); |
| 356 return pAdapter; | 356 return pAdapter; |
| 357 } | 357 } |
| OLD | NEW |