kwave  18.07.70
Runnable.h
Go to the documentation of this file.
1 /***************************************************************************
2  Runnable.h - interface for classes using a WorkerThread
3  -------------------
4  begin : Sun Dec 30 2012
5  copyright : (C) 2012 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 RUNNABLE_H
19 #define RUNNABLE_H
20 
21 class QVariant;
22 
23 namespace Kwave
24 {
25  class Runnable
26  {
27  public:
28 
30  virtual ~Runnable() {}
31 
33  virtual void run_wrapper(const QVariant &params) = 0;
34 
35  };
36 }
37 
38 #endif /* RUNNABLE_H */
39 
40 //***************************************************************************
41 //***************************************************************************
Definition: App.h:33
virtual ~Runnable()
Definition: Runnable.h:30
virtual void run_wrapper(const QVariant &params)=0