summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Action.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/Action.h b/include/Action.h
index c458403..581b093 100644
--- a/include/Action.h
+++ b/include/Action.h
@@ -25,6 +25,8 @@
#include <Variables.h>
#include <Exceptions.h>
#include <HtmlSkinner.h>
+#include <Atomic.h>
+#include <LockSmith.>
//! This is the basic HTTP action.
/*!
@@ -61,13 +63,13 @@ class Action : public Base {
//! This returns the recorded URL for that action.
String GetURL(void);
//! Mark this action to be erased as soon as the Do method ends.
- void CleanUp(void);
+ void CleanUp(void) { hastoclean = true; }
//! Skinner accessor.
- HtmlSkinner * GetSkinner();
+ HtmlSkinner * GetSkinner() { return skin; }
protected:
//! Mark this action as beeing accessed.
- void Accessed(void);
+ void Accessed(void) { accessed = true; }
private:
static Action * start;
@@ -75,6 +77,7 @@ class Action : public Base {
String URL;
bool hastoclean, accessed;
HtmlSkinner * skin;
+ iLock lock;
};
#endif