summaryrefslogtreecommitdiff
path: root/src/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.h')
-rw-r--r--src/event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event.h b/src/event.h
index 03751739..1e057a05 100644
--- a/src/event.h
+++ b/src/event.h
@@ -63,6 +63,10 @@ public:
void setFloat(const std::string &key, double value) throw (BadEvent);
double getFloat(const std::string &key) const throw (BadEvent);
+ // Sets or gets a boolean with key to identify
+ void setBool(const std::string &key, bool value) throw (BadEvent);
+ bool getBool(const std::string &key) const throw (BadEvent);
+
private:
std::string mEventName;