Index: /trunk/FACT++/src/EventImp.h
===================================================================
--- /trunk/FACT++/src/EventImp.h	(revision 10544)
+++ /trunk/FACT++/src/EventImp.h	(revision 10545)
@@ -6,9 +6,11 @@
 
 #include <boost/function.hpp>
+//#include <boost/bind/arg.hpp>
 
 #include "Time.h"
 
 class EventImp
-{   int              fTargetState;   /// Target state of an event
+{
+    int              fTargetState;   /// Target state of an event
     std::vector<int> fAllowedStates; /// List of states in which this event is allowed
 
@@ -59,4 +61,5 @@
 
     // Getter for all the data contained (name, format, data and time)
+    bool              GetBool() const   { return GetText()[0]!=0; }
     short             GetShort()  const { return *reinterpret_cast<const short*>(GetData()); }
     unsigned short    GetUShort() const { return *reinterpret_cast<const unsigned short*>(GetData()); }
