diff options
Diffstat (limited to 'src/engine/Event.hpp')
-rw-r--r-- | src/engine/Event.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/Event.hpp b/src/engine/Event.hpp index bac8464a..3fda3fd8 100644 --- a/src/engine/Event.hpp +++ b/src/engine/Event.hpp @@ -56,17 +56,21 @@ public: inline SampleCount time() const { return _time; } + int error() { return _error; } + protected: Event(Engine& engine, SharedPtr<Request> request, FrameTime time) : _engine(engine) , _request(request) , _time(time) + , _error(0) // success , _executed(false) {} Engine& _engine; SharedPtr<Request> _request; FrameTime _time; + int _error; bool _executed; }; |