diff options
Diffstat (limited to 'core/include/fxcrt/fx_basic.h')
-rw-r--r-- | core/include/fxcrt/fx_basic.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h index 73b99be549..cd6d4e048d 100644 --- a/core/include/fxcrt/fx_basic.h +++ b/core/include/fxcrt/fx_basic.h @@ -1032,36 +1032,6 @@ class IFX_Pause { virtual ~IFX_Pause() {} virtual FX_BOOL NeedToPauseNow() = 0; }; -class CFX_DataFilter { - public: - virtual ~CFX_DataFilter(); - - void SetDestFilter(CFX_DataFilter* pFilter); - - FX_BOOL IsEOF() const { return m_bEOF; } - - FX_DWORD GetSrcPos() { return m_SrcPos; } - - void FilterIn(const uint8_t* src_buf, - FX_DWORD src_size, - CFX_BinaryBuf& dest_buf); - - void FilterFinish(CFX_BinaryBuf& dest_buf); - - protected: - CFX_DataFilter(); - virtual void v_FilterIn(const uint8_t* src_buf, - FX_DWORD src_size, - CFX_BinaryBuf& dest_buf) = 0; - virtual void v_FilterFinish(CFX_BinaryBuf& dest_buf) = 0; - void ReportEOF(FX_DWORD left_input); - - FX_BOOL m_bEOF; - - FX_DWORD m_SrcPos; - - CFX_DataFilter* m_pDestFilter; -}; template <typename T> class CFX_AutoRestorer { |