1 2 3 4 5 6 7 8 9 10 11
#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); }