summaryrefslogtreecommitdiff
path: root/include/Action.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Action.h')
-rw-r--r--include/Action.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/Action.h b/include/Action.h
index 6110945..329592c 100644
--- a/include/Action.h
+++ b/include/Action.h
@@ -5,6 +5,7 @@
#include <Handle.h>
#include <Variables.h>
#include <Exceptions.h>
+#include <HtmlSkinner.h>
//! This is the basic HTTP action.
/*!
@@ -16,7 +17,7 @@ class Action : public Base {
/*!
If no URL is provided, one will be generated on the fly.
*/
- Action(const String & url = "");
+ Action(const String & url = "", HtmlSkinner * = 0);
virtual ~Action();
//! Will recursively resolve an URL, and return the corresponding action, or NULL if not found.
Action * Look4URL(const String &);
@@ -42,6 +43,8 @@ class Action : public Base {
String GetURL(void);
//! Mark this action to be erased as soon as the Do method ends.
void CleanUp(void);
+ //! Skinner accessor.
+ HtmlSkinner * GetSkinner();
protected:
//! Mark this action as beeing accessed.
@@ -52,6 +55,7 @@ class Action : public Base {
Action * next, * prev;
String URL;
bool hastoclean, accessed;
+ HtmlSkinner * skin;
};
#endif