Files
Upsilon/escher/src/invocation.cpp
2018-11-23 12:04:04 +01:00

12 lines
197 B
C++

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