xbmc
Public Member Functions | Protected Member Functions | List of all members
PVR::CPVRGUIProgressHandler Class Reference
Inheritance diagram for PVR::CPVRGUIProgressHandler:
Inheritance graph
[legend]
Collaboration diagram for PVR::CPVRGUIProgressHandler:
Collaboration graph
[legend]

Public Member Functions

 CPVRGUIProgressHandler (const std::string &strTitle)
 Creates and asynchronously shows a progress dialog with the given title. More...
 
void UpdateProgress (const std::string &strText, float fProgress)
 Update the progress dialogs's content. More...
 
void UpdateProgress (const std::string &strText, int iCurrent, int iMax)
 Update the progress dialogs's content. More...
 

Protected Member Functions

void Process () override
 

Constructor & Destructor Documentation

◆ CPVRGUIProgressHandler()

PVR::CPVRGUIProgressHandler::CPVRGUIProgressHandler ( const std::string &  strTitle)
explicit

Creates and asynchronously shows a progress dialog with the given title.

Parameters
strTitleThe title for the progress dialog.

Member Function Documentation

◆ UpdateProgress() [1/2]

void PVR::CPVRGUIProgressHandler::UpdateProgress ( const std::string &  strText,
float  fProgress 
)

Update the progress dialogs's content.

Parameters
strTextThe new progress text.
fProgressThe new progress value, in a range from 0.0 to 100.0.

◆ UpdateProgress() [2/2]

void PVR::CPVRGUIProgressHandler::UpdateProgress ( const std::string &  strText,
int  iCurrent,
int  iMax 
)

Update the progress dialogs's content.

Parameters
strTextThe new progress text.
iCurrentThe new current progress value, must be less or equal iMax.
iMaxThe new maximum progress value, must be greater or equal iCurrent.

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