3
* outputstream.h: Base Class for output
6
* Copyright (C) 2001 Andrew Stevens <andrew.stevens@philips.com>
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of version 2 of the GNU General Public License
11
* as published by the Free Software Foundation.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
#ifndef __OUTPUTSTRM_H__
25
#define __OUTPUTSTRM_H__
34
virtual int Open( ) = 0;
35
virtual void Close() = 0;
36
virtual off_t SegmentSize( ) = 0;
37
virtual void NextSegment() = 0;
38
virtual void Write(uint8_t *data, unsigned int len) = 0;
43
#endif /* __OUTPUTSTRM_H__ */