diff options
Diffstat (limited to 'core/include')
-rw-r--r-- | core/include/fxcrt/fx_arb.h | 1 | ||||
-rw-r--r-- | core/include/fxcrt/fx_basic.h | 1 | ||||
-rw-r--r-- | core/include/fxcrt/fx_stream.h | 12 |
3 files changed, 8 insertions, 6 deletions
diff --git a/core/include/fxcrt/fx_arb.h b/core/include/fxcrt/fx_arb.h index 5d3b0eb7da..3886ac3aae 100644 --- a/core/include/fxcrt/fx_arb.h +++ b/core/include/fxcrt/fx_arb.h @@ -49,6 +49,7 @@ class IFX_ArabicChar { public: static IFX_ArabicChar* Create(); + virtual ~IFX_ArabicChar() {} virtual void Release() = 0; virtual FX_BOOL IsArabicChar(FX_WCHAR wch) const = 0; virtual FX_BOOL IsArabicFormChar(FX_WCHAR wch) const = 0; diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h index cbd9cd85a8..b5a110b86f 100644 --- a/core/include/fxcrt/fx_basic.h +++ b/core/include/fxcrt/fx_basic.h @@ -1576,6 +1576,7 @@ typedef enum { class IFX_Unknown { public: + virtual ~IFX_Unknown() {} virtual FX_DWORD Release() = 0; virtual FX_DWORD AddRef() = 0; }; diff --git a/core/include/fxcrt/fx_stream.h b/core/include/fxcrt/fx_stream.h index c5d7b40df1..836cd272ae 100644 --- a/core/include/fxcrt/fx_stream.h +++ b/core/include/fxcrt/fx_stream.h @@ -67,9 +67,8 @@ FX_BOOL FX_File_Move(const CFX_WideStringC& fileNameSrc, const CFX_WideStringC& class IFX_StreamWrite { public: - virtual ~IFX_StreamWrite() { } + virtual ~IFX_StreamWrite() {} virtual void Release() = 0; - virtual FX_BOOL WriteBlock(const void* pData, size_t size) = 0; }; class IFX_FileWrite : public IFX_StreamWrite @@ -167,10 +166,11 @@ IFX_FileStream* FX_CreateFileStream(const FX_WCHAR* filename, FX_DWORD dwModes) class IFX_FileAccess { public: - virtual void Release() = 0; - virtual IFX_FileAccess* Retain() = 0; - virtual void GetPath(CFX_WideString& wsPath) = 0; - virtual IFX_FileStream* CreateFileStream(FX_DWORD dwModes) = 0; + 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); class IFX_MemoryStream : public IFX_FileStream |