blob: 3c1e9ef6cddb745154ca1f65b1ce590282155a61 (
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 <qdatetime.h>
class CommandBase
{
public:
CommandBase() {timestamp_ = QTime::currentTime();}
virtual ~CommandBase() {}
public:
virtual int execute(void *context = NULL) = 0;
QTime timestamp_;
};
#endif // __COMMAND_H
|