Libmacro  0.2
Libmacro is an extensible macro and hotkey library.
mcr::IDispatcher Struct Reference

Public Member Functions

 IDispatcher (Libmacro *context=nullptr, void(*deinit)(struct mcr_IDispatcher *)=nullptr, mcr_IDispatcher_add_fnc add=nullptr, void(*clear)(struct mcr_IDispatcher *)=nullptr, mcr_IDispatcher_dispatch_fnc dispatch=nullptr, mcr_IDispatcher_modify_fnc modifier=nullptr, mcr_IDispatcher_remove_fnc remove=nullptr, void(*trim)(struct mcr_IDispatcher *)=nullptr)
 
 IDispatcher (const IDispatcher &)=default
 
IDispatcheroperator= (const IDispatcher &)=default
 
mcr_IDispatcheroperator* ()
 
const mcr_IDispatcheroperator* () const
 
Libmacrocontext () const
 

Public Attributes

mcr_IDispatcher self
 

Detailed Description

Definition at line 149 of file wrappers.h.

Constructor & Destructor Documentation

§ IDispatcher()

mcr::IDispatcher::IDispatcher ( Libmacro context = nullptr,
void(*)(struct mcr_IDispatcher *)  deinit = nullptr,
mcr_IDispatcher_add_fnc  add = nullptr,
void(*)(struct mcr_IDispatcher *)  clear = nullptr,
mcr_IDispatcher_dispatch_fnc  dispatch = nullptr,
mcr_IDispatcher_modify_fnc  modifier = nullptr,
mcr_IDispatcher_remove_fnc  remove = nullptr,
void(*)(struct mcr_IDispatcher *)  trim = nullptr 
)
Parameters
contextIf null the last created context will be used. Throws EFAULT if no context exists
addmcr_IDispatcher::add
clearopt mcr_IDispatcher.clear
dispatchopt mcr_IDispatcher.dispatch
modifieropt mcr_IDispatcher.modifier
removeopt mcr_IDispatcher.remove
trimopt mcr_IDispatcher.trim exist.

The documentation for this struct was generated from the following file: