kwave  18.07.70
NewSignalPlugin.h
Go to the documentation of this file.
1 /***************************************************************************
2  NewSignalPlugin.h - plugin for creating a new signal
3  -------------------
4  begin : Wed Jul 18 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 NEW_SIGNAL_PLUGIN_H
19 #define NEW_SIGNAL_PLUGIN_H
20 
21 #include "config.h"
22 #include "libkwave/Plugin.h"
23 #include <QObject>
24 
25 class QStringList;
26 
27 namespace Kwave
28 {
30  {
31  Q_OBJECT
32  public:
33 
39  NewSignalPlugin(QObject *parent, const QVariantList &args);
40 
42  virtual ~NewSignalPlugin() Q_DECL_OVERRIDE;
43 
49  virtual QStringList *setup(QStringList &previous_params)
50  Q_DECL_OVERRIDE;
51 
52  protected:
53 
55  int interpreteParameters(QStringList &params);
56 
57  private:
59  unsigned int m_samples;
60 
62  unsigned int m_rate;
63 
65  unsigned int m_bits;
66 
68  unsigned int m_tracks;
69 
71  bool m_bytime;
72 
73  };
74 }
75 
76 #endif /* NEW_SIGNAL_PLUGIN_H */
77 
78 //***************************************************************************
79 //***************************************************************************
Definition: App.h:33
virtual QStringList * setup(QStringList &previous_params) Q_DECL_OVERRIDE
int interpreteParameters(QStringList &params)
NewSignalPlugin(QObject *parent, const QVariantList &args)
virtual ~NewSignalPlugin() Q_DECL_OVERRIDE