summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/MessageContext.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-29 18:19:17 +0000
committerDavid Robillard <d@drobilla.net>2008-09-29 18:19:17 +0000
commit3168e388d0a951cf665696b970eb5bb354fbb740 (patch)
treeaa2eb0c1887d2d315085944607b66ec8470a4a65 /src/libs/engine/MessageContext.hpp
parent95b1e3fe89477fbb6710d30ac183fab7d8238c14 (diff)
downloadingen-3168e388d0a951cf665696b970eb5bb354fbb740.tar.gz
ingen-3168e388d0a951cf665696b970eb5bb354fbb740.tar.bz2
ingen-3168e388d0a951cf665696b970eb5bb354fbb740.zip
More context extension work.
Clicking the input port on bang in ingen while in edit mode will now send a message to the bang plugin in the message context. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1537 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/MessageContext.hpp')
-rw-r--r--src/libs/engine/MessageContext.hpp10
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
};