#ifndef __ACTION_H__ #define __ACTION_H__ #include #include #include #include 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