OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 |
| 7 #ifndef CORE_FPDFAPI_IPDF_RENDERMODULE_H_ |
| 8 #define CORE_FPDFAPI_IPDF_RENDERMODULE_H_ |
| 9 |
| 10 class CPDF_DocRenderData; |
| 11 class CPDF_Document; |
| 12 class CPDF_Page; |
| 13 class CPDF_PageRenderCache; |
| 14 |
| 15 class IPDF_RenderModule { |
| 16 public: |
| 17 virtual ~IPDF_RenderModule() {} |
| 18 |
| 19 virtual CPDF_DocRenderData* CreateDocData(CPDF_Document* pDoc) = 0; |
| 20 virtual void DestroyDocData(CPDF_DocRenderData* pDocRenderData) = 0; |
| 21 virtual void ClearDocData(CPDF_DocRenderData* pDocRenderData) = 0; |
| 22 |
| 23 virtual CPDF_DocRenderData* GetRenderData() = 0; |
| 24 |
| 25 virtual CPDF_PageRenderCache* CreatePageCache(CPDF_Page* pPage) = 0; |
| 26 virtual void DestroyPageCache(CPDF_PageRenderCache* pCache) = 0; |
| 27 }; |
| 28 |
| 29 #endif // CORE_FPDFAPI_IPDF_RENDERMODULE_H_ |
OLD | NEW |