blob: 2a259f4ec24006670a0000a78cdd6bfd33070e2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// $Id$
#ifndef __COMMAND_H
#define __COMMAND_H
#include <Qt/qdatetime.h>
class CommandBase
{
public:
CommandBase() {timestamp_ = QTime::currentTime();}
virtual ~CommandBase() {}
public:
virtual int execute(void *context = 0) = 0;
QTime timestamp_;
};
#endif // __COMMAND_H
|