CARDS 2.4.140
Package manager for the NuTyX GNU/Linux distribution
ProgressBox Class Reference
Inheritance diagram for ProgressBox:
cards::CEventHandler FileDownloadEvent

Public Member Functions

 ProgressBox (CW_ACTIONS action)
 

Protected Member Functions

void OnDoJobListFinished (const CEH_RC rc)
 
void OnSyncFinished (const CEH_RC rc)
 
void OnProgressInfo (int percent)
 
void OnFileDownloadProgressInfo (FileDownloadState state)
 
- Protected Member Functions inherited from cards::CEventHandler
virtual void OnLogMessage (const string &Message)
 
virtual void OnSyncFinished (const CEH_RC rc)
 
virtual void OnDoJobListFinished (const CEH_RC rc)
 
virtual void OnRefreshPackageFinished (const CEH_RC rc)
 
virtual void OnJobListChange (const CEH_RC rc)
 
virtual void OnProgressInfo (int percent)
 
virtual void OnPackageInfo (CPackage &package)
 
virtual void OnFileDownloadProgressInfo (FileDownloadState state)
 
virtual void OnFileDownloadProgressInfo (FileDownloadState state)
 

Static Protected Member Functions

static void Callback (Fl_Widget *, void *pInstance)
 

Additional Inherited Members

- Static Public Member Functions inherited from cards::CEventHandler
static const string getReasonCodeString (const CEH_RC rc)
 Convert Reason Code Enum to human readable text.
 

Member Function Documentation

◆ OnDoJobListFinished()

void ProgressBox::OnDoJobListFinished ( const CEH_RC  rc)
protectedvirtual

Reimplemented from cards::CEventHandler.

◆ OnFileDownloadProgressInfo()

void ProgressBox::OnFileDownloadProgressInfo ( FileDownloadState  state)
protectedvirtual

Callback called when new progress data are available

Parameters
stateClass container datas for current download

Reimplemented from FileDownloadEvent.

◆ OnProgressInfo()

void ProgressBox::OnProgressInfo ( int  percent)
protectedvirtual

Reimplemented from cards::CEventHandler.

◆ OnSyncFinished()

void ProgressBox::OnSyncFinished ( const CEH_RC  rc)
protectedvirtual

Reimplemented from cards::CEventHandler.


The documentation for this class was generated from the following files: