kwave  18.07.70
SampleSink.h
Go to the documentation of this file.
1 /*************************************************************************
2  SampleSink.h - base class with a generic sample sink
3  -------------------
4  begin : Sun Oct 07 2007
5  copyright : (C) 2007 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 SAMPLE_SINK_H
19 #define SAMPLE_SINK_H
20 
21 #include "config.h"
22 
23 #include <QtGlobal>
24 #include <QObject>
25 
26 #include "libkwave/SampleArray.h"
28 
29 namespace Kwave
30 {
31 
32  class Q_DECL_EXPORT SampleSink: public Kwave::StreamObject
33  {
34  Q_OBJECT
35  public:
40  explicit SampleSink(QObject *parent = Q_NULLPTR);
41 
43  virtual ~SampleSink();
44 
52  virtual bool done() const { return false; }
53 
54  };
55 }
56 
57 #endif /* SAMPLE_SINK_H */
58 
59 //***************************************************************************
60 //***************************************************************************
Definition: App.h:33
virtual bool done() const
Definition: SampleSink.h:52