Content


NTL
Core
CComponent

CComponent



Base component implementation. Use it as a base class for your components.

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

class CComponent :public virtual IComponent, public CClass
{
public:
    IForm *getForm() override;

    bool setName(const String &value) override;
    bool setForm(IForm *value) override;
    void setService(IComponentService *value, const bool release_prev) override final;

    void Release() override;

    IComponentService *QueryService() override;

    CComponent(const String &class_name); // Create with specified class name
    ~CComponent() override;
};
Namespace: nitisa
Include: Nitisa/Core/Component.h