class CCL::ProgressProxy
Overview
Passes calls to another IProgressNotify. More…
#include <multiprogress.h> class ProgressProxy: public CCL::Unknown, public CCL::AbstractProgressNotify { public: // construction ProgressProxy (IProgressNotify& progress); // methods virtual void CCL_API beginProgress (); virtual void CCL_API endProgress (); 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; Unknown& operator = (const Unknown&); unsigned int getRetainCount () const; 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); 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 ();
Detailed Documentation
Passes calls to another IProgressNotify.
Construction
ProgressProxy (IProgressNotify& progress)
takes ownership!
Methods
virtual void CCL_API beginProgress ()
Begin progression.
virtual void CCL_API endProgress ()
End progression.
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.