File: Runnable.hh

package info (click to toggle)
workrave 1.8.3-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,092 kB
  • ctags: 4,359
  • sloc: cpp: 28,534; sh: 10,636; ansic: 10,462; makefile: 975; yacc: 316; perl: 104; xml: 2
file content (30 lines) | stat: -rw-r--r-- 838 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Runnable.hh --- Runnable interface
//
// Copyright (C) 2001, 2002, 2003, 2005 Rob Caelers <robc@krandor.org>
// All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or (at your option)
// any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// $Id: Runnable.hh,v 1.2 2005/09/23 19:22:33 rcaelers Exp $
//

#ifndef RUNNABLE_HH
#define RUNNABLE_HH

class Runnable
{
public:
  virtual ~Runnable() {}
  virtual void run() = 0;
};


#endif // RUNNABLE_HH