Files
Upsilon/escher/src/invocation.cpp
Émilie Feral c633fbda4d [escher] define class invocation
Change-Id: Idbcdff574aa9b79864d26a13448a5b6c896f65f4
2016-09-16 17:20:29 +02:00

12 lines
187 B
C++

#include <escher/invocation.h>
Invocation::Invocation(Action a, void * c) :
m_action(a),
m_context(c)
{
}
void Invocation::perform(void * sender) {
(*m_action)(m_context, sender);
}