mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 23:00:45 +01:00
16 lines
266 B
C++
16 lines
266 B
C++
#ifndef ESCHER_INVOCATION_H
|
|
#define ESCHER_INVOCATION_H
|
|
|
|
class Invocation {
|
|
public:
|
|
typedef bool (*Action)(void * context, void * sender);
|
|
Invocation(Action a, void * c);
|
|
bool perform(void * sender);
|
|
private:
|
|
Action m_action;
|
|
void * m_context;
|
|
};
|
|
|
|
#endif
|
|
|