diff options
Diffstat (limited to 'src/libs/engine/MessageContext.hpp')
-rw-r--r-- | src/libs/engine/MessageContext.hpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/libs/engine/MessageContext.hpp b/src/libs/engine/MessageContext.hpp index 3a53e73a..31531521 100644 --- a/src/libs/engine/MessageContext.hpp +++ b/src/libs/engine/MessageContext.hpp @@ -19,6 +19,7 @@ #define MESSAGECONTEXT_H #include "EventSink.hpp" +#include "Context.hpp" namespace Ingen { @@ -33,19 +34,14 @@ class NodeImpl; * * \ingroup engine */ -class MessageContext +class MessageContext : public Context { public: MessageContext(Engine& engine) - : _engine(engine) + : Context(engine, MESSAGE) {} void run(NodeImpl* node); - - inline Engine& engine() const { return _engine; } - -private: - Engine& _engine; ///< Engine we're running in }; |