Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OggCodec.h
Go to the documentation of this file.
1 //
2 // C++ Interface: Audio::OggCodec
3 //
4 #ifndef __AUDIO_OGGCODEC_H__INCLUDED__
5 #define __AUDIO_OGGCODEC_H__INCLUDED__
6 
7 #include "Codec.h"
8 
9 namespace Audio {
10 
15  class OggCodec : public Codec
16  {
17  public:
18  OggCodec();
19 
20  virtual ~OggCodec();
21 
23  virtual const Extensions* getExtensions() const throw();
24 
26  virtual bool canHandle(const std::string& path, bool canOpen, VSFileSystem::VSFileType type = VSFileSystem::UnknownFile) throw();
27 
29  virtual Stream* open(const std::string& path, VSFileSystem::VSFileType type = VSFileSystem::UnknownFile) throw(Exception);
30  };
31 
32 };
33 
34 #endif//__AUDIO_OGGCODEC_H__INCLUDED__