kwave  18.07.70
AmplifyFreePlugin.h
Go to the documentation of this file.
1 /***************************************************************************
2  AmplifyFreePlugin.h - Plugin for free amplification curves
3  -------------------
4  begin : Sun Sep 02 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 AMPLIFY_FREE_PLUGIN_H
19 #define AMPLIFY_FREE_PLUGIN_H
20 
21 #include "config.h"
22 
23 #include <QMap>
24 #include <QObject>
25 #include <QString>
26 #include <QStringList>
27 
28 #include "libkwave/Curve.h"
29 #include "libkwave/Plugin.h"
30 
31 namespace Kwave
32 {
35  {
36  Q_OBJECT
37 
38  public:
39 
45  AmplifyFreePlugin(QObject *parent, const QVariantList &args);
46 
48  virtual ~AmplifyFreePlugin() Q_DECL_OVERRIDE;
49 
55  virtual QStringList *setup(QStringList &previous_params) Q_DECL_OVERRIDE;
56 
61  virtual void run(QStringList params) Q_DECL_OVERRIDE;
62 
67  virtual int start(QStringList &params) Q_DECL_OVERRIDE;
68 
73  virtual QString progressText() Q_DECL_OVERRIDE;
74 
75  protected:
76 
78  int interpreteParameters(QStringList &params);
79 
80  private:
81 
83  QString m_action_name;
84 
86  QStringList m_params;
87 
90 
92  QMap<QString, QString> m_cmd_map;
93  };
94 }
95 
96 #endif /* AMPLIFY_FREE_PLUGIN_H */
97 
98 //***************************************************************************
99 //***************************************************************************
Definition: App.h:33
virtual int start(QStringList &params) Q_DECL_OVERRIDE
virtual void run(QStringList params) Q_DECL_OVERRIDE
int interpreteParameters(QStringList &params)
virtual ~AmplifyFreePlugin() Q_DECL_OVERRIDE
AmplifyFreePlugin(QObject *parent, const QVariantList &args)
virtual QString progressText() Q_DECL_OVERRIDE
virtual QStringList * setup(QStringList &previous_params) Q_DECL_OVERRIDE
QMap< QString, QString > m_cmd_map