Content


NTL
Core
IPackageService

IPackageService



Describes service for package.

You can find more information in comments below.

class IPackageService
{
public:
    virtual void NotifyOnCreateComponent(IComponent *component, IPackageComponent *package_component, IPropertyList *properties, IEventList *events) = 0; // Should be called to notify package about component creation
    virtual void NotifyOnCreateControl(IControl *control, IPackageControl *package_control, IPropertyList *properties, IEventList *events) = 0; // Should be called to notify package about control creation
    virtual void NotifyOnDestroyComponent(IComponent *component) = 0; // Should be called to notify package about component destruction
    virtual void NotifyOnDestroyControl(IControl *control) = 0; // Should be called to notify package about control destruction

    virtual void Release() = 0; // Destroy instance 
};
Namespace: nitisa
Include: Nitisa/Package/Interfaces/IPackage.h