diff options
Diffstat (limited to 'CIAO/examples/Display/NavDisplayGUI_exec/Command.h')
-rw-r--r-- | CIAO/examples/Display/NavDisplayGUI_exec/Command.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/CIAO/examples/Display/NavDisplayGUI_exec/Command.h b/CIAO/examples/Display/NavDisplayGUI_exec/Command.h new file mode 100644 index 00000000000..3c1e9ef6cdd --- /dev/null +++ b/CIAO/examples/Display/NavDisplayGUI_exec/Command.h @@ -0,0 +1,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 |