kwave  18.07.70
ZeroPlugin.h
Go to the documentation of this file.
1 /*************************************************************************
2  ZeroPlugin.h - wipes out the selected range of samples to zero
3  -------------------
4  begin : Fri Jun 01 2001
5  copyright : (C) 2001 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 ZERO_PLUGIN_H
19 #define ZERO_PLUGIN_H
20 
21 #include "config.h"
22 
23 #include <QString>
24 #include <QStringList>
25 
26 #include "libkwave/Plugin.h"
27 #include "libkwave/Sample.h"
28 #include "libkwave/SampleArray.h"
29 
30 namespace Kwave
31 {
37  class ZeroPlugin: public Kwave::Plugin
38  {
39  Q_OBJECT
40 
41  public:
42 
48  ZeroPlugin(QObject *parent, const QVariantList &args);
49 
51  virtual ~ZeroPlugin() Q_DECL_OVERRIDE;
52 
57  virtual void run(QStringList params) Q_DECL_OVERRIDE;
58 
59  private:
60 
63 
64  };
65 }
66 
67 #endif /* ZERO_PLUGIN_H */
68 
69 //***************************************************************************
70 //***************************************************************************
Definition: App.h:33
virtual ~ZeroPlugin() Q_DECL_OVERRIDE
Definition: ZeroPlugin.cpp:49
virtual void run(QStringList params) Q_DECL_OVERRIDE
Definition: ZeroPlugin.cpp:54
ZeroPlugin(QObject *parent, const QVariantList &args)
Definition: ZeroPlugin.cpp:43
Kwave::SampleArray m_zeroes
Definition: ZeroPlugin.h:62