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/fpdfapi/include/cpdf_modulemgr.h" | 7 #include "core/fpdfapi/cpdf_modulemgr.h" |
8 | 8 |
9 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h" | 9 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h" |
10 #include "core/fxcodec/include/fx_codec.h" | 10 #include "core/fxcodec/include/fx_codec.h" |
11 | 11 |
12 namespace { | 12 namespace { |
13 | 13 |
14 CPDF_ModuleMgr* g_pDefaultMgr = nullptr; | 14 CPDF_ModuleMgr* g_pDefaultMgr = nullptr; |
15 | 15 |
16 } // namespace | 16 } // namespace |
17 | 17 |
(...skipping 30 matching lines...) Expand all Loading... |
48 return m_pCodecModule ? m_pCodecModule->GetJbig2Module() : nullptr; | 48 return m_pCodecModule ? m_pCodecModule->GetJbig2Module() : nullptr; |
49 } | 49 } |
50 | 50 |
51 CCodec_IccModule* CPDF_ModuleMgr::GetIccModule() { | 51 CCodec_IccModule* CPDF_ModuleMgr::GetIccModule() { |
52 return m_pCodecModule ? m_pCodecModule->GetIccModule() : nullptr; | 52 return m_pCodecModule ? m_pCodecModule->GetIccModule() : nullptr; |
53 } | 53 } |
54 | 54 |
55 CCodec_FlateModule* CPDF_ModuleMgr::GetFlateModule() { | 55 CCodec_FlateModule* CPDF_ModuleMgr::GetFlateModule() { |
56 return m_pCodecModule ? m_pCodecModule->GetFlateModule() : nullptr; | 56 return m_pCodecModule ? m_pCodecModule->GetFlateModule() : nullptr; |
57 } | 57 } |
OLD | NEW |