kwave  18.07.70
AudiofileDecoder.h
Go to the documentation of this file.
1 /*************************************************************************
2  AudiofileDecoder.h - import through libaudiofile
3  -------------------
4  begin : Tue May 28 2002
5  copyright : (C) 2002 by Thomas Eschenbacher
6  email : Thomas.Eschenbacher@gmx.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef AUDIOFILE_DECODER_H
19 #define AUDIOFILE_DECODER_H
20 
21 #include "config.h"
22 
23 #include "libkwave/Decoder.h"
24 
25 class QIODevice;
26 class QWidget;
27 
28 namespace Kwave
29 {
30 
31  class VirtualAudioFile;
32 
34  {
35  public:
38 
40  virtual ~AudiofileDecoder() Q_DECL_OVERRIDE;
41 
43  virtual Kwave::Decoder *instance() Q_DECL_OVERRIDE;
44 
52  virtual bool open(QWidget *widget, QIODevice &source) Q_DECL_OVERRIDE;
53 
61  virtual bool decode(QWidget *widget, Kwave::MultiWriter &dst) Q_DECL_OVERRIDE;
62 
66  virtual void close() Q_DECL_OVERRIDE;
67 
68  private:
69 
71  QIODevice *m_source;
72 
75  };
76 }
77 
78 #endif /* AUDIOFILE_DECODER_H */
79 
80 //***************************************************************************
81 //***************************************************************************
Definition: App.h:33
virtual Kwave::Decoder * instance() Q_DECL_OVERRIDE
virtual void close() Q_DECL_OVERRIDE
virtual bool decode(QWidget *widget, Kwave::MultiWriter &dst) Q_DECL_OVERRIDE
virtual ~AudiofileDecoder() Q_DECL_OVERRIDE
Kwave::VirtualAudioFile * m_src_adapter
virtual bool open(QWidget *widget, QIODevice &source) Q_DECL_OVERRIDE