• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • Examples
  • File List
  • File Members

MediaParserHaiku.h

Go to the documentation of this file.
00001 // MediaParserHaiku.h: Haiku media parsers, for Gnash
00002 // 
00003 //   Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
00004 // 
00005 // This program is free software; you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License as published by
00007 // the Free Software Foundation; either version 3 of the License, or
00008 // (at your option) any later version.
00009 // 
00010 // This program is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 // GNU General Public License for more details.
00014 //
00015 // You should have received a copy of the GNU General Public License
00016 // along with this program; if not, write to the Free Software
00017 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00018 
00019 #ifndef GNASH_MEDIAPARSER_HAIKU_H
00020 #define GNASH_MEDIAPARSER_HAIKU_H
00021 
00022 #include "MediaParser.h" // for inheritance
00023 
00024 #include <boost/scoped_array.hpp>
00025 #include <memory>
00026 
00027 // Forward declaration
00028 namespace gnash {
00029         class IOChannel;
00030 }
00031 
00032 namespace gnash {
00033 namespace media {
00034 namespace haiku {
00035 
00037 class MediaParserHaiku : public MediaParser
00038 {
00039 public:
00040 
00042         //
00045         MediaParserHaiku(std::auto_ptr<IOChannel> stream);
00046 
00047         ~MediaParserHaiku();
00048 
00049         // See dox in MediaParser.h
00050         virtual bool seek(boost::uint32_t&);
00051 
00052         // See dox in MediaParser.h
00053         virtual bool parseNextChunk();
00054 
00055         // See dox in MediaParser.h
00056         virtual boost::uint64_t getBytesLoaded() const;
00057 };
00058 
00059 
00060 } // gnash.media.haiku namespace 
00061 } // gnash.media namespace 
00062 } // namespace gnash
00063 
00064 #endif // __MEDIAPARSER_HAIKU_H__

Generated on Fri Mar 16 2012 15:46:11 for Gnash by  doxygen 1.7.1