IEventEditor


Describes minimum required functionality from EventEditor widget.

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

class IEventEditor :public virtual IControl
{
public:
    void(*OnEventChange)(IEventEditor *sender, IEvent *event, IEventList *event_list, IClass *parent); // Event called when event has been changed 

    virtual int getEventListCount() = 0; // Return count of assigned event lists 
    virtual IEventList *getEventList(const int index) = 0; // Return event list by index 
    virtual int getEventCount() = 0; // Return count of common events for all attached event lists 
    virtual IEvent *getEvent(const int index) = 0; // Return event by index 
    virtual int getActiveEventIndex() = 0; // Return index of active event 

    virtual bool AttachEventList(IEventList *list) = 0; // Attach event list 
    virtual bool DetachEventList(const int index) = 0; // Detach event list by index 
    virtual bool DetachEventList(IEventList *list) = 0; // Detach event list 
    virtual bool DetachEventLists() = 0; // Detach all event lists 
};
Namespace: nitisa::ide
Include: Ide/Controls/IEventEditor.h