A wrapper around the callback function. More...
#include <hotkeys.h>
Public Member Functions | |
CallbackWrapper (hotkey_callback callback) | |
Data Fields | |
hotkey_callback | callback |
A wrapper around the callback function.
This wrapper is needed because the size of a pointer to a member function depends on the class definition. The possible solutions are to either wrap the callback pointer in a class and dynamically allocate memory for it like we do now or making all class definitions available in hotkeys.cpp.
Definition at line 34 of file hotkeys.h.