Callback Slots
Previous  Top  Next

A special type of Instance Variables of the XbZLibZip Class are Callback Slots, which can hold a CodeBlock or NIL. By assigning a CodeBlock to a Callback Slot Instance Variable, the default behavior of the XbZLibZip Class can be customized without having to create a sub-class or changing the XbZLibZip Class source code.

The following Exported Callback Slot Instance Variables are currently supported:

CheckEvents
-->
CallBack Slot for external EventLoop routine.
CancelAdd
-->
CallBack Slot for Cancel option of Adding Multiple Files.
CancelExtract
-->
CallBack Slot for Cancel option of Extracting Multiple Files.
OnCorruption
-->
CallBack Slot for Detection of Zip File Corruption.