struct CCL::IAlertBox

Alert Box interface.

#include <ialert.h>

struct IAlertBox: public CCL::IUnknown
{
    // methods

    virtual void CCL_API initWithType (StringRef text, int type = Alert::kWarning) = 0;
    virtual void CCL_API initWithQuestion (StringRef text, int type = Alert::kYesNo) = 0;

    virtual void CCL_API initWithButtons (
        StringRef text,
        StringRef firstButton,
        StringRef secondButton,
        StringRef thirdButton = nullptr
    ) = 0;

    virtual void CCL_API initWithContext (
        StringRef text,
        IErrorContext* context,
        int question = -1
    ) = 0;

    virtual int CCL_API run () = 0;
    virtual IAsyncOperation*CCL_API runAsync () = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;