Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXRunnable.h
1 /********************************************************************************
2 * *
3 * R u n n a b l e C l a s s *
4 * *
5 *********************************************************************************
6 * Copyright (C) 2004,2024 by Jeroen van der Zijp. All Rights Reserved. *
7 *********************************************************************************
8 * This library is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU Lesser General Public License as published by *
10 * the Free Software Foundation; either version 3 of the License, or *
11 * (at your option) any later version. *
12 * *
13 * This library is distributed in the hope that it will be useful, *
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16 * GNU Lesser General Public License for more details. *
17 * *
18 * You should have received a copy of the GNU Lesser General Public License *
19 * along with this program. If not, see <http://www.gnu.org/licenses/> *
20 ********************************************************************************/
21 #ifndef FXRUNNABLE_H
22 #define FXRUNNABLE_H
23 
24 namespace FX {
25 
26 
33 class FXAPI FXRunnable {
34 public:
35 
38 
40  virtual FXint run() = 0;
41 
43  virtual ~FXRunnable(){}
44  };
45 
46 }
47 
48 #endif
49 
FXRunnable()
Construct a runnable.
Definition: FXRunnable.h:37
Definition: FX4Splitter.h:28
virtual ~FXRunnable()
Destroy a runnable.
Definition: FXRunnable.h:43
FXRunnable represents a generic runnable thing.
Definition: FXRunnable.h:33

Copyright © 1997-2022 Jeroen van der Zijp