Content


NTL
Core
IApplicationService

IApplicationService



Describes service for the application.

You can find more information in comments below.

class IApplicationService
{
public:
    virtual void Release() = 0; // Destroy service
    virtual void Add(IForm *form) = 0; // Register form in application. Should be called in form constructor
    virtual void Remove(IForm *form) = 0; // Unregister form in application. Should be called in form destructor.
    virtual void SendTranslateChangeNotification() = 0; // Send translation change notification to all forms, components, and controls. Changing current language in ITranslation call this automatically. In all other cases of changing translation matrix you have to call this method to reflect changes
};
Namespace: nitisa
Include: Nitisa/Interfaces/IApplicationService.h