| 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/include/fpdfxfa/fpdfxfa_app.h" | 7 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h" |
| 8 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h" | 8 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h" |
| 9 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h" | 9 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h" |
| 10 #include "fpdfsdk/include/fsdk_define.h" | 10 #include "fpdfsdk/include/fsdk_define.h" |
| 11 #include "fpdfsdk/include/fsdk_mgr.h" | 11 #include "fpdfsdk/include/fsdk_mgr.h" |
| 12 #include "public/fpdf_formfill.h" | 12 #include "public/fpdf_formfill.h" |
| 13 #include "xfa/fxbarcode/include/BC_Library.h" | 13 #include "xfa/fxbarcode/include/BC_Library.h" |
| 14 #include "xfa/include/fxfa/xfa_ffapp.h" | 14 #include "xfa/include/fxfa/xfa_ffapp.h" |
| 15 #include "xfa/include/fxfa/xfa_fontmgr.h" | 15 #include "xfa/include/fxfa/xfa_fontmgr.h" |
| 16 | 16 |
| 17 CPDFXFA_App* CPDFXFA_App::g_pApp = NULL; | 17 CPDFXFA_App* CPDFXFA_App::g_pApp = NULL; |
| 18 | 18 |
| 19 CPDFXFA_App* CPDFXFA_App::GetInstance() { | 19 CPDFXFA_App* CPDFXFA_App::GetInstance() { |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 return FALSE; | 521 return FALSE; |
| 522 } | 522 } |
| 523 | 523 |
| 524 IFWL_AdapterTimerMgr* CPDFXFA_App::GetTimerMgr() { | 524 IFWL_AdapterTimerMgr* CPDFXFA_App::GetTimerMgr() { |
| 525 CXFA_FWLAdapterTimerMgr* pAdapter = NULL; | 525 CXFA_FWLAdapterTimerMgr* pAdapter = NULL; |
| 526 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); | 526 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); |
| 527 if (pEnv) | 527 if (pEnv) |
| 528 pAdapter = new CXFA_FWLAdapterTimerMgr(pEnv); | 528 pAdapter = new CXFA_FWLAdapterTimerMgr(pEnv); |
| 529 return pAdapter; | 529 return pAdapter; |
| 530 } | 530 } |
| OLD | NEW |