23 #include "wxgis/framework/framework.h" 
   27 #include <wx/string.h> 
   28 #include <wx/stattext.h> 
   29 #include <wx/gdicmn.h> 
   31 #include <wx/colour.h> 
   32 #include <wx/settings.h> 
   34 #include <wx/button.h> 
   35 #include <wx/dialog.h> 
   42 #ifdef wxGIS_HAVE_UNITY_INTEGRATION 
   44     #define DESKTOP_FILE_NAME "ngm.desktop" 
   45 #endif // wxGIS_HAVE_UNITY_INTEGRATION 
   60     wxGISProgressDlg(
const wxString &title, 
const wxString &message, 
int  maximum = 100, wxWindow *  parent = NULL, 
int style = wxCAPTION );
 
   68     virtual void Play(
void);
 
   69     virtual void Stop(
void);
 
   70     virtual void SetYield(
bool bYield = 
false);
 
   72     virtual void Cancel(
void);
 
   73     virtual bool Continue(
void);
 
   74     virtual void Reset(
void);
 
   75     virtual void PutMessage(
const wxString &sMessage, 
size_t nIndex = wxNOT_FOUND, wxGISEnumMessageType eType = enumGISMessageUnk);
 
   76     virtual wxString GetLastMessage(
void)
 const {
return m_sLastMessage;};
 
   78     virtual void SetAddPercentToMessage(
bool bAdd = 
false);
 
   79     virtual size_t GetWarningCount() 
const;
 
   80     virtual const wxVector<MESSAGE>& GetWarnings() 
const;
 
   82     virtual void OnCancel(wxCommandEvent& event);
 
   84     wxButton* m_sdbSizerCancel;
 
   85     wxStdDialogButtonSizer* m_sdbSizer;
 
   86     wxStaticText* m_staticElapsedText;
 
   88     wxStaticText* m_staticText;
 
   90     wxString m_sLastMessage;
 
   91     bool m_bAddPercentToMessage;
 
   92     wxVector<MESSAGE> m_saWarnings;
 
   96     ITaskbarList3 *m_pTaskbarList;
 
   99 #ifdef wxGIS_HAVE_UNITY_INTEGRATION 
  100     UnityLauncherEntry* m_pLauncher;
 
  101 #endif // wxGIS_HAVE_UNITY_INTEGRATION 
  103     DECLARE_EVENT_TABLE()
 
virtual void Stop(void)=0
Stop undefined progressor state. 
 
virtual void SetValue(int value)=0
Set progressor position. 
 
virtual void SetYield(bool bYield=false)=0
SetYield Yields control to pending messages in the windowing system. 
 
A TrackCancel interface class. 
Definition: core.h:144
 
virtual bool ShowProgress(bool bShow)=0
Show/hide progressor. 
Definition: core.h:92
 
virtual void SetRange(int range)=0
Set progressor range. 
 
virtual void Play(void)=0
Start undefined progressor state. 
 
virtual int GetRange(void) const =0
Set progressor range. 
 
Definition: progressdlg.h:53
 
virtual int GetValue(void) const =0
Get progressor position.