kwave  18.07.70
GotoPluginBase.h
Go to the documentation of this file.
1 /***************************************************************************
2  GotoPluginBase.h - base class for the goto plugin
3  -------------------
4  begin : Thu May 12 2011
5  copyright : (C) 2011 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 GOTO_PLUGIN_BASE_H
19 #define GOTO_PLUGIN_BASE_H
20 
21 #include "config.h"
22 
23 #include <QObject>
24 #include <QString>
25 #include <QStringList>
26 
28 #include "libkwave/Plugin.h"
29 
30 class QStringList;
31 
32 namespace Kwave
33 {
34 
36  {
37  Q_OBJECT
38  public:
39 
45  GotoPluginBase(QObject *parent, const QVariantList &args);
46 
48  virtual ~GotoPluginBase() Q_DECL_OVERRIDE;
49 
55  virtual QStringList *setup(QStringList &previous_params) Q_DECL_OVERRIDE;
56 
61  virtual int start(QStringList &params) Q_DECL_OVERRIDE;
62 
63  protected:
64 
66  virtual QString command() const = 0;
67 
69  virtual QString title() const = 0;
70 
72  int interpreteParameters(QStringList &params);
73 
74  private:
75 
78 
80  unsigned int m_position;
81  };
82 }
83 
84 #endif /* GOTO_PLUGIN_BASE_H */
85 
86 //***************************************************************************
87 //***************************************************************************
Kwave::SelectTimeWidget::Mode m_mode
Definition: App.h:33
virtual ~GotoPluginBase() Q_DECL_OVERRIDE
virtual QStringList * setup(QStringList &previous_params) Q_DECL_OVERRIDE
virtual int start(QStringList &params) Q_DECL_OVERRIDE
int interpreteParameters(QStringList &params)
unsigned int m_position
virtual QString command() const =0
GotoPluginBase(QObject *parent, const QVariantList &args)
virtual QString title() const =0