diff options
Diffstat (limited to 'include/Action.h')
-rw-r--r-- | include/Action.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/include/Action.h b/include/Action.h index 2a4c75a..542a6b6 100644 --- a/include/Action.h +++ b/include/Action.h @@ -1,32 +1,32 @@ -#ifndef __ACTION_H__ -#define __ACTION_H__ - -#include <Task.h> -#include <Handle.h> -#include <Variables.h> -#include <Exceptions.h> - -class Action : public Base { - public: - Action(const String & = ""); - virtual ~Action(); - Action * Look4URL(const String &); - virtual Task * Do(Variables *, Variables *, Handle *) = 0; - virtual void SendHead(Handle *); - virtual void SendFoot(Handle *); - virtual void ShowButton(Handle *, const String & = " Ok ", const String & = "start"); - virtual String GetTitle(void) = 0; - String GetURL(void); - void CleanUp(void); - - protected: - void Accessed(void); - - private: - static Action * start; - Action * next, * prev; - String URL; - bool hastoclean, accessed; -}; - -#endif +#ifndef __ACTION_H__
+#define __ACTION_H__
+
+#include <Task.h>
+#include <Handle.h>
+#include <Variables.h>
+#include <Exceptions.h>
+
+class Action : public Base {
+ public:
+ Action(const String & = "");
+ virtual ~Action();
+ Action * Look4URL(const String &);
+ virtual Task * Do(Variables *, Variables *, Handle *) = 0;
+ virtual void SendHead(Handle *);
+ virtual void SendFoot(Handle *);
+ virtual void ShowButton(Handle *, const String & = " Ok ", const String & = "start");
+ virtual String GetTitle(void) = 0;
+ String GetURL(void);
+ void CleanUp(void);
+
+ protected:
+ void Accessed(void);
+
+ private:
+ static Action * start;
+ Action * next, * prev;
+ String URL;
+ bool hastoclean, accessed;
+};
+
+#endif
|