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 "core/include/fpdfapi/fpdf_module.h" | 7 #include "core/fpdfapi/include/cpdf_modulemgr.h" |
| 8 |
| 9 #include "core/fpdfapi/ipdf_rendermodule.h" |
8 #include "core/include/fxcodec/fx_codec.h" | 10 #include "core/include/fxcodec/fx_codec.h" |
9 | 11 |
10 namespace { | 12 namespace { |
11 | 13 |
12 CPDF_ModuleMgr* g_FPDFAPI_pDefaultMgr = nullptr; | 14 CPDF_ModuleMgr* g_FPDFAPI_pDefaultMgr = nullptr; |
13 | 15 |
14 } // namespace | 16 } // namespace |
15 | 17 |
16 // static | 18 // static |
17 CPDF_ModuleMgr* CPDF_ModuleMgr::Get() { | 19 CPDF_ModuleMgr* CPDF_ModuleMgr::Get() { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 } | 55 } |
54 ICodec_Jbig2Module* CPDF_ModuleMgr::GetJbig2Module() { | 56 ICodec_Jbig2Module* CPDF_ModuleMgr::GetJbig2Module() { |
55 return m_pCodecModule ? m_pCodecModule->GetJbig2Module() : NULL; | 57 return m_pCodecModule ? m_pCodecModule->GetJbig2Module() : NULL; |
56 } | 58 } |
57 ICodec_IccModule* CPDF_ModuleMgr::GetIccModule() { | 59 ICodec_IccModule* CPDF_ModuleMgr::GetIccModule() { |
58 return m_pCodecModule ? m_pCodecModule->GetIccModule() : NULL; | 60 return m_pCodecModule ? m_pCodecModule->GetIccModule() : NULL; |
59 } | 61 } |
60 ICodec_FlateModule* CPDF_ModuleMgr::GetFlateModule() { | 62 ICodec_FlateModule* CPDF_ModuleMgr::GetFlateModule() { |
61 return m_pCodecModule ? m_pCodecModule->GetFlateModule() : NULL; | 63 return m_pCodecModule ? m_pCodecModule->GetFlateModule() : NULL; |
62 } | 64 } |
OLD | NEW |