mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[apps/escher] Invocation::Action returns a bool
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#include <escher/invocation.h>
|
||||
|
||||
Invocation::Invocation(Action a, void * c) :
|
||||
m_action(a),
|
||||
m_context(c)
|
||||
m_action(a),
|
||||
m_context(c)
|
||||
{
|
||||
}
|
||||
|
||||
void Invocation::perform(void * sender) {
|
||||
(*m_action)(m_context, sender);
|
||||
bool Invocation::perform(void * sender) {
|
||||
return (*m_action)(m_context, sender);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user