Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
Use a function as an event job. More...
#include <FunctionEventJob.h>
Public Member Functions | |
FunctionEventJob (void(*func)(const Event &, void *), void *arg=nullptr) | |
run() invokes func(arg) | |
~FunctionEventJob () override=default | |
void | run (const Event &) override |
Run the job. | |
Public Member Functions inherited from IInterface | |
virtual | ~IInterface ()=default |
Interface destructor does nothing. |
Use a function as an event job.
An event job class that invokes a function.
FunctionEventJob::FunctionEventJob | ( | void(* | func )(const Event &, void *), |
void * | arg = nullptr ) |
run() invokes func(arg)
|
overridedefault |