summaryrefslogtreecommitdiff
path: root/include/Action.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Action.h')
-rw-r--r--include/Action.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Action.h b/include/Action.h
index 185cd1a..bf3dc1a 100644
--- a/include/Action.h
+++ b/include/Action.h
@@ -2,6 +2,7 @@
#define __ACTION_H__
#ifdef __cplusplus
+#include <Task.h>
#include <Handle.h>
#include <Variables.h>
#include <Exceptions.h>
@@ -35,7 +36,7 @@ class Action : public Base {
Action(const String & = "");
virtual ~Action();
Action * Look4URL(const String &);
- virtual void Do(Variables *, Handle *) = 0;
+ virtual Task * Do(Variables *, Handle *) = 0;
virtual void SendHead(Handle *);
virtual void SendFoot(Handle *);
virtual void ShowButton(Handle *, const String & = " Ok ", const String & = "start");