IPackageControlListener



Describes package control listener which can be used to get notifications on certain package control actions.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class IPackageControlListener
{
public:
    virtual void OnCreateChild( // Event called when package control successfully created new child control
        IPackageControl *sender, // Package control which called this method
        IControl *parent, // Parent control of the created one. Equals to the one passed to CreateChild() method
        IControl *control) = 0; // Created control
    virtual void OnCreateListItem( // Event called when package control successfully created new list item
        IPackageControl *sender, // Package control which called this method
        IListItem *parent, // Parent item of the created one. Equals to the one passed to CreateListItem() method
        IListItem *item) = 0; // Created list item
};
Namespace: nitisa
Include: Nitisa/Interfaces/IPackageControl.h