| 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 #ifndef _FPDF_MODULE_ | 7 #ifndef _FPDF_MODULE_ |
| 8 #define _FPDF_MODULE_ | 8 #define _FPDF_MODULE_ |
| 9 #ifndef _FXCRT_EXTENSION_ | 9 #ifndef _FXCRT_EXTENSION_ |
| 10 #include "../fxcrt/fx_ext.h" | 10 #include "../fxcrt/fx_ext.h" |
| 11 #endif | 11 #endif |
| 12 class CPDF_ModuleMgr; | 12 class CPDF_ModuleMgr; |
| 13 class CPDF_PageModuleDef; | 13 class CPDF_PageModuleDef; |
| 14 class CPDF_RenderModuleDef; | 14 class CPDF_RenderModuleDef; |
| 15 class CPDF_SecurityHandler; | 15 class CPDF_SecurityHandler; |
| 16 class CCodec_ModuleMgr; | 16 class CCodec_ModuleMgr; |
| 17 class CPDF_Dictionary; | 17 class CPDF_Dictionary; |
| 18 class ICodec_JpegModule; | 18 class ICodec_JpegModule; |
| 19 class ICodec_JpxModule; | 19 class ICodec_JpxModule; |
| 20 class ICodec_FaxModule; | 20 class ICodec_FaxModule; |
| 21 class ICodec_Jbig2Module; | 21 class ICodec_Jbig2Module; |
| 22 class ICodec_IccModule; | 22 class ICodec_IccModule; |
| 23 class ICodec_FlateModule; | 23 class ICodec_FlateModule; |
| 24 #define ADDIN_NAME_CJK "Eastern Asian Language Support" | 24 #define ADDIN_NAME_CJK "Eastern Asian Language Support" |
| 25 #define ADDIN_NAME_DECODER "JPEG2000 and JBIG2 Image Decoders" | 25 #define ADDIN_NAME_DECODER "JPEG2000 and JBIG2 Image Decoders" |
| 26 class CPDF_ModuleMgr : public CFX_Object | 26 class CPDF_ModuleMgr |
| 27 { | 27 { |
| 28 public: | 28 public: |
| 29 | 29 |
| 30 static void Create(); | 30 static void Create(); |
| 31 | 31 |
| 32 static CPDF_ModuleMgr* Get(); | 32 static CPDF_ModuleMgr* Get(); |
| 33 | 33 |
| 34 static void Destroy(); | 34 static void Destroy(); |
| 35 | 35 |
| 36 | 36 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 CFX_MapByteStringToPtr m_SecurityHandlerMap; | 116 CFX_MapByteStringToPtr m_SecurityHandlerMap; |
| 117 | 117 |
| 118 CFX_PrivateData m_privateData; | 118 CFX_PrivateData m_privateData; |
| 119 }; | 119 }; |
| 120 class CPDF_Document; | 120 class CPDF_Document; |
| 121 class CPDF_DocPageData; | 121 class CPDF_DocPageData; |
| 122 class CPDF_FontGlobals; | 122 class CPDF_FontGlobals; |
| 123 class IPDF_FontMgr; | 123 class IPDF_FontMgr; |
| 124 class IPDF_FontMapper; | 124 class IPDF_FontMapper; |
| 125 class CPDF_ColorSpace; | 125 class CPDF_ColorSpace; |
| 126 class CPDF_PageModuleDef : public CFX_Object | 126 class CPDF_PageModuleDef |
| 127 { | 127 { |
| 128 public: | 128 public: |
| 129 virtual ~CPDF_PageModuleDef() {} | 129 virtual ~CPDF_PageModuleDef() {} |
| 130 | 130 |
| 131 virtual CPDF_DocPageData* CreateDocData(CPDF_Document* pDoc) | 131 virtual CPDF_DocPageData* CreateDocData(CPDF_Document* pDoc) |
| 132 { | 132 { |
| 133 return NULL; | 133 return NULL; |
| 134 } | 134 } |
| 135 | 135 |
| 136 virtual void ReleaseDoc(CPDF_Document*) {} | 136 virtual void ReleaseDoc(CPDF_Document*) {} |
| (...skipping 17 matching lines...) Expand all Loading... |
| 154 class CFX_AffineMatrix; | 154 class CFX_AffineMatrix; |
| 155 class CPDF_RenderOptions; | 155 class CPDF_RenderOptions; |
| 156 class CPDF_Page; | 156 class CPDF_Page; |
| 157 class CPDF_DocRenderData; | 157 class CPDF_DocRenderData; |
| 158 class CPDF_PageRenderCache; | 158 class CPDF_PageRenderCache; |
| 159 class CFX_BitmapDevice; | 159 class CFX_BitmapDevice; |
| 160 class CPDF_Stream; | 160 class CPDF_Stream; |
| 161 class CFX_DIBSource; | 161 class CFX_DIBSource; |
| 162 class CPDF_RenderConfig; | 162 class CPDF_RenderConfig; |
| 163 class CPDF_Image; | 163 class CPDF_Image; |
| 164 class CPDF_RenderModuleDef : public CFX_Object | 164 class CPDF_RenderModuleDef |
| 165 { | 165 { |
| 166 public: | 166 public: |
| 167 virtual ~CPDF_RenderModuleDef() {} | 167 virtual ~CPDF_RenderModuleDef() {} |
| 168 | 168 |
| 169 virtual CPDF_DocRenderData* CreateDocData(CPDF_Document* pDoc) | 169 virtual CPDF_DocRenderData* CreateDocData(CPDF_Document* pDoc) |
| 170 { | 170 { |
| 171 return NULL; | 171 return NULL; |
| 172 } | 172 } |
| 173 | 173 |
| 174 virtual void DestroyDocData(CPDF_DocRenderData*) {} | 174 virtual void DestroyDocData(CPDF_DocRenderData*) {} |
| (...skipping 12 matching lines...) Expand all Loading... |
| 187 virtual void DestroyPageCache(CPDF_PageRenderCache*) {} | 187 virtual void DestroyPageCache(CPDF_PageRenderCache*) {} |
| 188 | 188 |
| 189 virtual void NotifyDecoderAvailable() {} | 189 virtual void NotifyDecoderAvailable() {} |
| 190 | 190 |
| 191 virtual CPDF_RenderConfig* GetConfig() | 191 virtual CPDF_RenderConfig* GetConfig() |
| 192 { | 192 { |
| 193 return NULL; | 193 return NULL; |
| 194 } | 194 } |
| 195 }; | 195 }; |
| 196 #endif | 196 #endif |
| OLD | NEW |