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