class CCL::AbstractProgressNotify

Overview

<> More…

#include <iprogress.h>

class AbstractProgressNotify: public CCL::IProgressNotify
{
public:
    // methods

    virtual void CCL_API setTitle (StringRef title);
    virtual void CCL_API setCancelEnabled (tbool state);
    virtual void CCL_API beginProgress ();
    virtual void CCL_API endProgress ();
    virtual IProgressNotify*CCL_API createSubProgress ();
    virtual void CCL_API setProgressText (StringRef text);
    virtual void CCL_API updateProgress (const State& state);
    virtual tbool CCL_API isCanceled ();
};

Inherited Members

public:
    // enums

    enum Flags;

    // structs

    struct State;

    // 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;
    virtual void CCL_API setTitle (StringRef title) = 0;
    virtual void CCL_API setCancelEnabled (tbool state) = 0;
    virtual void CCL_API beginProgress () = 0;
    virtual void CCL_API endProgress () = 0;
    virtual IProgressNotify*CCL_API createSubProgress () = 0;
    virtual void CCL_API setProgressText (StringRef text) = 0;
    virtual void CCL_API updateProgress (const State& state) = 0;
    virtual tbool CCL_API isCanceled () = 0;
    IProgressNotify void updateAnimated ();
    void updateAnimated (StringRef text, bool important = false);

Detailed Documentation

<>

Methods

virtual void CCL_API setTitle (StringRef title)

Set progress title.

virtual void CCL_API setCancelEnabled (tbool state)

Enable/disable cancellation by user.

virtual void CCL_API beginProgress ()

Begin progression.

virtual void CCL_API endProgress ()

End progression.

virtual IProgressNotify*CCL_API createSubProgress ()

Creates a sub-step progress, must be released by caller.

virtual void CCL_API setProgressText (StringRef text)

Update progress text.

virtual void CCL_API updateProgress (const State& state)

Update progress.

virtual tbool CCL_API isCanceled ()

Check if canceled by user.