summaryrefslogtreecommitdiff
path: root/xfa/fgas/crt/ifgas_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fgas/crt/ifgas_stream.h')
-rw-r--r--xfa/fgas/crt/ifgas_stream.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/xfa/fgas/crt/ifgas_stream.h b/xfa/fgas/crt/ifgas_stream.h
index 01a148019f..31d1e67589 100644
--- a/xfa/fgas/crt/ifgas_stream.h
+++ b/xfa/fgas/crt/ifgas_stream.h
@@ -13,7 +13,6 @@
enum FX_STREAMACCESS {
FX_STREAMACCESS_Binary = 0x00,
- FX_STREAMACCESS_Text = 0x01,
FX_STREAMACCESS_Read = 0x02,
FX_STREAMACCESS_Write = 0x04,
FX_STREAMACCESS_Truncate = 0x10,
@@ -29,15 +28,12 @@ enum FX_STREAMSEEK {
class IFGAS_Stream : public CFX_Retainable {
public:
- static CFX_RetainPtr<IFGAS_Stream> CreateStream(
- const CFX_RetainPtr<IFX_SeekableReadStream>& pFileRead,
- uint32_t dwAccess);
- static CFX_RetainPtr<IFGAS_Stream> CreateStream(
- const CFX_RetainPtr<IFX_SeekableWriteStream>& pFileWrite,
- uint32_t dwAccess);
+ static CFX_RetainPtr<IFGAS_Stream> CreateReadStream(
+ const CFX_RetainPtr<IFX_SeekableReadStream>& pFileRead);
+ static CFX_RetainPtr<IFGAS_Stream> CreateWriteStream(
+ const CFX_RetainPtr<IFX_SeekableWriteStream>& pFileWrite);
static CFX_RetainPtr<IFGAS_Stream> CreateStream(uint8_t* pData,
- int32_t length,
- uint32_t dwAccess);
+ int32_t length);
virtual uint32_t GetAccessModes() const = 0;
virtual int32_t GetLength() const = 0;