Function gpa::gpaAddLayer
Defined in File layer-system.h
Function Documentation
-
bool gpa::gpaAddLayer(GPADispatchTable *dispatchTable)
Adds a new layer to the beginning of the current layer chain.
This method adds a new layer as the first step after the hook. All methods within
dispatchTable
should be NULL unless they are overridden/ implemented by this specific layer. After this method is called, every function pointer withindispatchTable
will point down to the next layer within the layer chain. These methods should be considered safe to call upon returning from this method.- Parameters
dispatchTable -- [in] A partially filled out dispatch table.
- Returns
True on success, false if dispatchTable is NULL.