mirror of https://github.com/BOINC/boinc.git
- manager: fix some compile warnings on Unix
This commit is contained in:
parent
321029f32b
commit
3453ed7814
|
@ -193,14 +193,14 @@ const char** CBOINCBaseView::GetViewIcon() {
|
|||
// The rate at which the view is refreshed.
|
||||
// If it has not been defined by the view 1 second is retrned.
|
||||
//
|
||||
const int CBOINCBaseView::GetViewRefreshRate() {
|
||||
int CBOINCBaseView::GetViewRefreshRate() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
// Get bit mask of current view(s).
|
||||
//
|
||||
const int CBOINCBaseView::GetViewCurrentViewPage() {
|
||||
int CBOINCBaseView::GetViewCurrentViewPage() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -120,8 +120,8 @@ public:
|
|||
virtual wxString& GetViewName();
|
||||
virtual wxString& GetViewDisplayName();
|
||||
virtual const char** GetViewIcon();
|
||||
virtual const int GetViewRefreshRate();
|
||||
virtual const int GetViewCurrentViewPage();
|
||||
virtual int GetViewRefreshRate();
|
||||
virtual int GetViewCurrentViewPage();
|
||||
|
||||
virtual wxString GetKeyValue1(int iRowIndex);
|
||||
virtual wxString GetKeyValue2(int iRowIndex);
|
||||
|
|
|
@ -127,12 +127,12 @@ const char** CViewNotices::GetViewIcon() {
|
|||
}
|
||||
|
||||
|
||||
const int CViewNotices::GetViewRefreshRate() {
|
||||
int CViewNotices::GetViewRefreshRate() {
|
||||
return 10;
|
||||
}
|
||||
|
||||
const int CViewNotices::GetViewCurrentViewPage() {
|
||||
return VW_NOTIF;
|
||||
int CViewNotices::GetViewCurrentViewPage() {
|
||||
return VW_NOTIF;
|
||||
}
|
||||
|
||||
|
||||
|
@ -229,4 +229,4 @@ void CViewNotices::ReloadNotices() {
|
|||
m_FetchingNoticesText->Show();
|
||||
m_NoNoticesText->Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,8 +42,8 @@ public:
|
|||
virtual wxString& GetViewName();
|
||||
virtual wxString& GetViewDisplayName();
|
||||
virtual const char** GetViewIcon();
|
||||
virtual const int GetViewRefreshRate();
|
||||
virtual const int GetViewCurrentViewPage();
|
||||
virtual int GetViewRefreshRate();
|
||||
virtual int GetViewCurrentViewPage();
|
||||
void ReloadNotices();
|
||||
|
||||
protected:
|
||||
|
|
|
@ -256,7 +256,7 @@ const char** CViewProjects::GetViewIcon() {
|
|||
}
|
||||
|
||||
|
||||
const int CViewProjects::GetViewCurrentViewPage() {
|
||||
int CViewProjects::GetViewCurrentViewPage() {
|
||||
return VW_PROJ;
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ public:
|
|||
virtual wxString& GetViewName();
|
||||
virtual wxString& GetViewDisplayName();
|
||||
virtual const char** GetViewIcon();
|
||||
virtual const int GetViewCurrentViewPage();
|
||||
virtual int GetViewCurrentViewPage();
|
||||
|
||||
virtual wxString GetKeyValue1(int iRowIndex);
|
||||
virtual int FindRowIndexByKeyValues(wxString& key1, wxString& key2);
|
||||
|
|
|
@ -123,12 +123,12 @@ const char** CViewResources::GetViewIcon() {
|
|||
}
|
||||
|
||||
|
||||
const int CViewResources::GetViewRefreshRate() {
|
||||
int CViewResources::GetViewRefreshRate() {
|
||||
return 10;
|
||||
}
|
||||
|
||||
|
||||
const int CViewResources::GetViewCurrentViewPage() {
|
||||
int CViewResources::GetViewCurrentViewPage() {
|
||||
return VW_DISK;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,8 +43,8 @@ public:
|
|||
virtual wxString& GetViewName();
|
||||
virtual wxString& GetViewDisplayName();
|
||||
virtual const char** GetViewIcon();
|
||||
virtual const int GetViewRefreshRate();
|
||||
virtual const int GetViewCurrentViewPage();
|
||||
virtual int GetViewRefreshRate();
|
||||
virtual int GetViewCurrentViewPage();
|
||||
|
||||
protected:
|
||||
|
||||
|
|
|
@ -2075,11 +2075,11 @@ const char** CViewStatistics::GetViewIcon() {
|
|||
return stats_xpm;
|
||||
}
|
||||
|
||||
const int CViewStatistics::GetViewRefreshRate() {
|
||||
int CViewStatistics::GetViewRefreshRate() {
|
||||
return 60;
|
||||
}
|
||||
|
||||
const int CViewStatistics::GetViewCurrentViewPage() {
|
||||
int CViewStatistics::GetViewCurrentViewPage() {
|
||||
return VW_STAT;
|
||||
}
|
||||
|
||||
|
|
|
@ -225,8 +225,8 @@ public:
|
|||
virtual wxString& GetViewName();
|
||||
virtual wxString& GetViewDisplayName();
|
||||
virtual const char** GetViewIcon();
|
||||
virtual const int GetViewRefreshRate();
|
||||
virtual const int GetViewCurrentViewPage();
|
||||
virtual int GetViewRefreshRate();
|
||||
virtual int GetViewCurrentViewPage();
|
||||
|
||||
void OnStatisticsUserTotal( wxCommandEvent& event );
|
||||
void OnStatisticsUserAverage( wxCommandEvent& event );
|
||||
|
|
|
@ -219,7 +219,7 @@ const char** CViewTransfers::GetViewIcon() {
|
|||
}
|
||||
|
||||
|
||||
const int CViewTransfers::GetViewCurrentViewPage() {
|
||||
int CViewTransfers::GetViewCurrentViewPage() {
|
||||
return VW_XFER;
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
virtual wxString& GetViewName();
|
||||
virtual wxString& GetViewDisplayName();
|
||||
virtual const char** GetViewIcon();
|
||||
virtual const int GetViewCurrentViewPage();
|
||||
virtual int GetViewCurrentViewPage();
|
||||
|
||||
virtual wxString GetKeyValue1(int iRowIndex);
|
||||
virtual wxString GetKeyValue2(int iRowIndex);
|
||||
|
|
|
@ -270,7 +270,7 @@ const char** CViewWork::GetViewIcon() {
|
|||
}
|
||||
|
||||
|
||||
const int CViewWork::GetViewCurrentViewPage() {
|
||||
int CViewWork::GetViewCurrentViewPage() {
|
||||
return VW_TASK;
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ public:
|
|||
virtual wxString& GetViewName();
|
||||
virtual wxString& GetViewDisplayName();
|
||||
virtual const char** GetViewIcon();
|
||||
virtual const int GetViewCurrentViewPage();
|
||||
virtual int GetViewCurrentViewPage();
|
||||
|
||||
virtual wxString GetKeyValue1(int iRowIndex);
|
||||
virtual wxString GetKeyValue2(int iRowIndex);
|
||||
|
|
Loading…
Reference in New Issue