| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include <GUIDialogCache.h>
  
Public Member Functions | |
| CGUIDialogCache (std::chrono::milliseconds delay=std::chrono::milliseconds(100), 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) | 
| template<typename Rep , typename Period > | |
| void | Sleep (std::chrono::duration< Rep, Period > duration) | 
| bool | IsAutoDelete () const | 
| virtual void | StopThread (bool bWait=true) | 
| bool | IsRunning () const | 
| bool | IsCurrentThread () const | 
| bool | Join (std::chrono::milliseconds duration) | 
| bool | SetPriority (const ThreadPriority &priority) | 
| Set the threads priority. This uses the platforms native threading library to do so.   | |
| 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, std::chrono::milliseconds duration=std::chrono::milliseconds(-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 const std::thread::id | GetCurrentThreadId () | 
| static CThread * | GetCurrentThread () | 
  Protected Types inherited from CThread | |
| enum | WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 } | 
| CGUIDialogCache::CGUIDialogCache | ( | std::chrono::milliseconds | delay = std::chrono::milliseconds(100), | 
| const std::string & | strHeader = "", | ||
| const std::string & | strMsg = "" ) | 
      
  | 
  override | 
| bool CGUIDialogCache::IsCanceled | ( | ) | const | 
      
  | 
  overridevirtual | 
Implements XFILE::IFileCallback.
      
  | 
  protected | 
| void CGUIDialogCache::SetHeader | ( | const std::string & | strHeader | ) | 
| void CGUIDialogCache::SetMessage | ( | const std::string & | strMessage | ) | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected |