1 // OffsetStream.h 2 3 #ifndef ZIP7_INC_OFFSET_STREAM_H 4 #define ZIP7_INC_OFFSET_STREAM_H 5 6 #include "../../Common/MyCom.h" 7 8 #include "../IStream.h" 9 10 Z7_CLASS_IMP_NOQIB_1( 11 COffsetOutStream 12 , IOutStream 13 ) 14 Z7_IFACE_COM7_IMP(ISequentialOutStream) 15 16 CMyComPtr<IOutStream> _stream; 17 UInt64 _offset; 18 public: 19 HRESULT Init(IOutStream *stream, UInt64 offset); 20 }; 21 22 #endif 23