Index: core/include/fxcrt/fx_stream.h |
diff --git a/core/include/fxcrt/fx_stream.h b/core/include/fxcrt/fx_stream.h |
index a5599b04d0730c0797e5a916188b7d150e4b03db..300bfb194145a976b1a2ceb6ed1996b8bd9d24b7 100644 |
--- a/core/include/fxcrt/fx_stream.h |
+++ b/core/include/fxcrt/fx_stream.h |
@@ -127,6 +127,18 @@ class IFX_FileStream : public IFX_FileRead, public IFX_FileWrite { |
IFX_FileStream* FX_CreateFileStream(const FX_CHAR* filename, FX_DWORD dwModes); |
IFX_FileStream* FX_CreateFileStream(const FX_WCHAR* filename, FX_DWORD dwModes); |
+#ifdef PDF_ENABLE_XFA |
+class IFX_FileAccess { |
+ public: |
+ virtual ~IFX_FileAccess() {} |
+ virtual void Release() = 0; |
+ virtual IFX_FileAccess* Retain() = 0; |
+ virtual void GetPath(CFX_WideString& wsPath) = 0; |
+ virtual IFX_FileStream* CreateFileStream(FX_DWORD dwModes) = 0; |
+}; |
+IFX_FileAccess* FX_CreateDefaultFileAccess(const CFX_WideStringC& wsPath); |
+ |
+#endif |
class IFX_MemoryStream : public IFX_FileStream { |
public: |
virtual FX_BOOL IsConsecutive() const = 0; |