|
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <GUIDialogCache.h>
Public Member Functions | |
| CGUIDialogCache (DWORD dwDelay=0, const std::string &strHeader="", const std::string &strMsg="") | |
| ~CGUIDialogCache () override | |
| void | SetHeader (const std::string &strHeader) |
| void | SetHeader (int nHeader) |
| void | SetMessage (const std::string &strMessage) |
| bool | IsCanceled () const |
| void | ShowProgressBar (bool bOnOff) |
| void | SetPercentage (int iPercentage) |
| void | Close (bool bForceClose=false) |
| void | Process () override |
| bool | OnFileCallback (void *pContext, int ipercent, float avgSpeed) override |
Public Member Functions inherited from CThread | |
| CThread (IRunnable *pRunnable, const char *ThreadName) | |
| virtual | ~CThread () |
| void | Create (bool bAutoDelete=false, unsigned stacksize=0) |
| void | Sleep (unsigned int milliseconds) |
| int | GetSchedRRPriority (void) |
| bool | SetPrioritySched_RR (int iPriority) |
| bool | IsAutoDelete () const |
| virtual void | StopThread (bool bWait=true) |
| bool | IsRunning () const |
| bool | IsCurrentThread () const |
| int | GetMinPriority (void) |
| int | GetMaxPriority (void) |
| int | GetNormalPriority (void) |
| int | GetPriority (void) |
| bool | SetPriority (const int iPriority) |
| bool | WaitForThreadExit (unsigned int milliseconds) |
| float | GetRelativeUsage () |
| int64_t | GetAbsoluteUsage () |
| virtual void | OnException () |
Public Member Functions inherited from XFILE::IFileCallback | |
| virtual | ~IFileCallback ()=default |
Protected Member Functions | |
| void | OpenDialog () |
Protected Member Functions inherited from CThread | |
| CThread (const char *ThreadName) | |
| virtual void | OnStartup () |
| virtual void | OnExit () |
| WaitResponse | AbortableWait (CEvent &event, int timeoutMillis=-1) |
Protected Attributes | |
| XbmcThreads::EndTime | m_endtime |
| CGUIDialogProgress * | m_pDlg |
| std::string | m_strHeader |
| std::string | m_strLinePrev |
| std::string | m_strLinePrev2 |
| bool | bSentCancel |
Protected Attributes inherited from CThread | |
| std::atomic< bool > | m_bStop |
Additional Inherited Members | |
Static Public Member Functions inherited from CThread | |
| static bool | IsCurrentThread (const ThreadIdentifier tid) |
| static ThreadIdentifier | GetCurrentThreadId () |
| static ThreadIdentifier | GetDisplayThreadId (const ThreadIdentifier tid) |
| static CThread * | GetCurrentThread () |
Protected Types inherited from CThread | |
| enum | WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 } |
| CGUIDialogCache::CGUIDialogCache | ( | DWORD | dwDelay = 0, |
| const std::string & | strHeader = "", |
||
| const std::string & | strMsg = "" |
||
| ) |
|
override |
| void CGUIDialogCache::Close | ( | bool | bForceClose = false | ) |
| bool CGUIDialogCache::IsCanceled | ( | ) | const |
|
overridevirtual |
Implements XFILE::IFileCallback.
|
protected |
| void CGUIDialogCache::SetHeader | ( | const std::string & | strHeader | ) |
| void CGUIDialogCache::SetHeader | ( | int | nHeader | ) |
| void CGUIDialogCache::SetMessage | ( | const std::string & | strMessage | ) |
| void CGUIDialogCache::SetPercentage | ( | int | iPercentage | ) |
| void CGUIDialogCache::ShowProgressBar | ( | bool | bOnOff | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |