Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(721)

Side by Side Diff: core/include/fpdfapi/fpdf_module.h

Issue 1171733003: Remove typdefs for pointer types in fx_system.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual fixes. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/include/fdrm/fx_crypt.h ('k') | core/include/fpdfapi/fpdf_objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CORE_INCLUDE_FPDFAPI_FPDF_MODULE_H_ 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_MODULE_H_
8 #define CORE_INCLUDE_FPDFAPI_FPDF_MODULE_H_ 8 #define CORE_INCLUDE_FPDFAPI_FPDF_MODULE_H_
9 9
10 #include "../fxcrt/fx_ext.h" 10 #include "../fxcrt/fx_ext.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 59 }
60 CCodec_ModuleMgr* GetCodecModule() 60 CCodec_ModuleMgr* GetCodecModule()
61 { 61 {
62 return m_pCodecModule; 62 return m_pCodecModule;
63 } 63 }
64 64
65 void InitPageModule(); 65 void InitPageModule();
66 66
67 void InitRenderModule(); 67 void InitRenderModule();
68 68
69 void» » SetDownloadCallback(FX_BOOL (*callback)(FX_LPCSTR module _name)); 69 void» » SetDownloadCallback(FX_BOOL (*callback)(const FX_CHAR* m odule_name));
70 70
71 FX_BOOL» » DownloadModule(FX_LPCSTR module_name); 71 FX_BOOL» » DownloadModule(const FX_CHAR* module_name);
72 72
73 void» » NotifyModuleAvailable(FX_LPCSTR module_name); 73 void» » NotifyModuleAvailable(const FX_CHAR* module_name);
74 74
75 75
76 76
77 CPDF_RenderModuleDef* GetRenderModule() const 77 CPDF_RenderModuleDef* GetRenderModule() const
78 { 78 {
79 return m_pRenderModule; 79 return m_pRenderModule;
80 } 80 }
81 81
82 CPDF_PageModuleDef* GetPageModule() const 82 CPDF_PageModuleDef* GetPageModule() const
83 { 83 {
(...skipping 11 matching lines...) Expand all
95 95
96 void LoadEmbeddedKorea1CMaps(); 96 void LoadEmbeddedKorea1CMaps();
97 97
98 ICodec_FaxModule* GetFaxModule(); 98 ICodec_FaxModule* GetFaxModule();
99 ICodec_JpegModule* GetJpegModule(); 99 ICodec_JpegModule* GetJpegModule();
100 ICodec_JpxModule* GetJpxModule(); 100 ICodec_JpxModule* GetJpxModule();
101 ICodec_Jbig2Module* GetJbig2Module(); 101 ICodec_Jbig2Module* GetJbig2Module();
102 ICodec_IccModule* GetIccModule(); 102 ICodec_IccModule* GetIccModule();
103 ICodec_FlateModule* GetFlateModule(); 103 ICodec_FlateModule* GetFlateModule();
104 104
105 void» » » » » RegisterSecurityHandler(FX_LPCST R name, CPDF_SecurityHandler * (*CreateHandler)(void* param), void* param); 105 void» » » » » RegisterSecurityHandler(const FX _CHAR* name, CPDF_SecurityHandler * (*CreateHandler)(void* param), void* param);
106 106
107 CPDF_SecurityHandler*» CreateSecurityHandler(FX_LPCSTR name); 107 CPDF_SecurityHandler*» CreateSecurityHandler(const FX_CHAR* name);
108 108
109 void» » » » » SetPrivateData(FX_LPVOID module_ id, FX_LPVOID pData, PD_CALLBACK_FREEDATA callback); 109 void» » » » » SetPrivateData(void* module_id, void* pData, PD_CALLBACK_FREEDATA callback);
110 110
111 FX_LPVOID» » » » GetPrivateData(FX_LPVOID module_id); 111 void*» » » » GetPrivateData(void* module_id);
112 112
113 int m_FileBufSize; 113 int m_FileBufSize;
114 protected: 114 protected:
115 115
116 CPDF_ModuleMgr(); 116 CPDF_ModuleMgr();
117 117
118 ~CPDF_ModuleMgr(); 118 ~CPDF_ModuleMgr();
119 void Initialize(); 119 void Initialize();
120 120
121 void InitModules(); 121 void InitModules();
122 122
123 123
124 124
125 CCodec_ModuleMgr* m_pCodecModule; 125 CCodec_ModuleMgr* m_pCodecModule;
126 126
127 CPDF_RenderModuleDef* m_pRenderModule; 127 CPDF_RenderModuleDef* m_pRenderModule;
128 128
129 CPDF_PageModuleDef* m_pPageModule; 129 CPDF_PageModuleDef* m_pPageModule;
130 130
131 131
132 FX_BOOL (*m_pDownloadCallback)(FX_LPCSTR module_name); 132 FX_BOOL (*m_pDownloadCallback)(const FX_CHAR* module_name);
133 133
134 CFX_MapByteStringToPtr m_SecurityHandlerMap; 134 CFX_MapByteStringToPtr m_SecurityHandlerMap;
135 135
136 CFX_PrivateData m_privateData; 136 CFX_PrivateData m_privateData;
137 }; 137 };
138 class CPDF_PageModuleDef 138 class CPDF_PageModuleDef
139 { 139 {
140 public: 140 public:
141 virtual ~CPDF_PageModuleDef() {} 141 virtual ~CPDF_PageModuleDef() {}
142 142
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 189
190 virtual void NotifyDecoderAvailable() {} 190 virtual void NotifyDecoderAvailable() {}
191 191
192 virtual CPDF_RenderConfig* GetConfig() 192 virtual CPDF_RenderConfig* GetConfig()
193 { 193 {
194 return NULL; 194 return NULL;
195 } 195 }
196 }; 196 };
197 197
198 #endif // CORE_INCLUDE_FPDFAPI_FPDF_MODULE_H_ 198 #endif // CORE_INCLUDE_FPDFAPI_FPDF_MODULE_H_
OLDNEW
« no previous file with comments | « core/include/fdrm/fx_crypt.h ('k') | core/include/fpdfapi/fpdf_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698