mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
12 lines
197 B
C++
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);
|
|
}
|