summaryrefslogtreecommitdiff
path: root/include/TaskMan.h
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-09 14:06:58 +0000
committerPixel <Pixel>2001-11-09 14:06:58 +0000
commit823761df28ad31cde8a071125b177f49494d804a (patch)
tree9e063f7eb4d5ad48039e957f0ec7d5c70fcefe0d /include/TaskMan.h
parent69d9cab0c415837552a84f17366356e9571fdbda (diff)
Exceptions...
Diffstat (limited to 'include/TaskMan.h')
-rw-r--r--include/TaskMan.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/TaskMan.h b/include/TaskMan.h
new file mode 100644
index 0000000..fe0d565
--- /dev/null
+++ b/include/TaskMan.h
@@ -0,0 +1,22 @@
+#ifndef __TASKMAN_H__
+#define __TASKMAN_H__
+#ifdef __cplusplus
+
+#include <Task,h>
+#include <vector.h>
+
+catch TaskMan : public Base {
+ public:
+ TaskMan();
+ ~TaskMan();
+ int AddTask(const Task &);
+ void MainLoop(void);
+ private:
+ vector<Task> TaskList;
+ static int Inited;
+};
+
+#else
+#error This only works with a C++ compiler
+#endif
+#endif