~ubuntu-branches/ubuntu/hardy/avidemux/hardy

« back to all changes in this revision

Viewing changes to avidemux/ADM_mplex/outputstrm.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Matvey Kozhev
  • Date: 2007-12-18 13:53:04 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218135304-cdqec2lg2bglyz15
Tags: 1:2.4~preview3-0.0ubuntu1
* Upload to Ubuntu. (LP: #163287, LP: #126572)
* debian/changelog: re-added Ubuntu releases.
* debian/control:
  - Require debhelper >= 5.0.51 (for dh_icons) and imagemagick.
  - Build-depend on libsdl1.2-dev instead of libsdl-dev.
  - Build against newer libx264-dev. (LP: #138854)
  - Removed libamrnb-dev, not in Ubuntu yet.
* debian/rules:
  - Install all icon sizes, using convert (upstream installs none).
  - Added missing calls to dh_installmenu, dh_installman, dh_icons and
    dh_desktop.
* debian/menu, debian/avidemux-qt.menu:
  - Corrected package and executable names.
* debian/avidemux-common.install: Install icons.
* debian/avidemux.common.manpages: Install man/avidemux.1.
* debian/links, debian/avidemux-cli.links, debian/avidemux-gtk.links:
  - Link manpages to avidemux.1.gz.
* debian/install, debian/avidemux-qt.install, debian/avidemux-gtk.desktop,
  debian/avidemux-qt.desktop: Install desktop files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/*
3
 
 *  outputstream.h: Base Class for output
4
 
 *
5
 
 *
6
 
 *  Copyright (C) 2001 Andrew Stevens <andrew.stevens@philips.com>
7
 
 *
8
 
 *
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.
12
 
 *
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.
17
 
 *
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.
21
 
 */
22
 
 
23
 
 
24
 
#ifndef __OUTPUTSTRM_H__
25
 
#define __OUTPUTSTRM_H__
26
 
 
27
 
 
28
 
class OutputStream
29
 
{
30
 
public:
31
 
    OutputStream() :
32
 
        segment_num( 1 )
33
 
        {}
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;
39
 
protected:
40
 
    int segment_num;
41
 
};
42
 
 
43
 
#endif /* __OUTPUTSTRM_H__ */