2008-08-06 18:36:30 +00:00
|
|
|
// This file is part of BOINC.
|
2005-01-20 23:22:22 +00:00
|
|
|
// http://boinc.berkeley.edu
|
2008-08-06 18:36:30 +00:00
|
|
|
// Copyright (C) 2008 University of California
|
2004-05-17 22:15:10 +00:00
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
// under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
2004-04-10 09:11:03 +00:00
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
2005-01-20 23:22:22 +00:00
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
2004-05-17 22:15:10 +00:00
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
2008-09-27 03:21:09 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
///
|
|
|
|
/// @defgroup BOINCMgr BOINC Manager
|
|
|
|
/// The BOINC Manager
|
|
|
|
/// @{
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2004-04-11 04:37:10 +00:00
|
|
|
#ifndef _BOINCGUIAPP_H_
|
|
|
|
#define _BOINCGUIAPP_H_
|
|
|
|
|
|
|
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
|
|
|
#pragma interface "BOINCGUIApp.cpp"
|
|
|
|
#endif
|
|
|
|
|
2005-10-01 08:56:37 +00:00
|
|
|
#ifdef __WXMAC__
|
2005-08-13 22:17:35 +00:00
|
|
|
#include "mac/MacSysMenu.h" // Must be included before MainDocument.h
|
2005-03-25 12:23:30 +00:00
|
|
|
#endif
|
2004-04-10 09:11:03 +00:00
|
|
|
|
- client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
- MGR: Have the BaseFrame call a function to determine if the
selection list should be saved instead of traversing
the application pointer. Each view just overrides the function
returning a true/false value. We don't have to worry about null
pointers and the like.
- MGR: BOINCGUIApp should never need to know how either the views
work or the document. Move the code that determines which
RPCs should be fired into each of the views. Have the document
look for it there.
- MGR: Reduce duplicate code for hiding and showing an application
- MGR: Move some Windows and Mac specific code into functions
and streamline the application startup and shutdown rountines.
- MGR: Move the event processing that was in BOINCGUIApp into the
BaseFrame.
- MGR: General cleanup.
- MGR: Doxygen comments.
- MGR: Cleanup some warnings.
client/
rr_sim.cpp
clientgui/
AdvancedFrame.cpp, .h
AsyncRPC.cpp, .h
BOINCBaseFrame.cpp, .h
BOINCBaseView.cpp, .h
BOINCClientManager.cpp
BOINCGUIApp.cpp, .h
BOINCTaskBar.cpp
MainDocument.cpp, .h
sg_BoincSimpleGUI.cpp, .h
ViewProjects.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
WelcomePage.cpp
win_build/installerv2/
BOINC.ism
BOINCx64.ism
win_build/
sim.vcproj
svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
|
|
|
///
|
|
|
|
/// Which view is on display
|
|
|
|
///
|
2006-06-23 08:20:08 +00:00
|
|
|
#define BOINC_ADVANCEDGUI 1
|
|
|
|
#define BOINC_SIMPLEGUI 2
|
|
|
|
|
2005-12-28 12:33:18 +00:00
|
|
|
|
2006-10-20 15:00:14 +00:00
|
|
|
class wxLogBOINC;
|
|
|
|
class CBOINCBaseFrame;
|
|
|
|
class CMainDocument;
|
|
|
|
class CTaskBarIcon;
|
|
|
|
class CSkinManager;
|
2009-12-22 20:15:55 +00:00
|
|
|
class CDlgEventLog;
|
2008-07-23 14:16:59 +00:00
|
|
|
class CRPCFinishedEvent;
|
2005-12-28 12:33:18 +00:00
|
|
|
|
|
|
|
|
2005-04-10 19:01:23 +00:00
|
|
|
class CBOINCGUIApp : public wxApp {
|
- client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
- MGR: Have the BaseFrame call a function to determine if the
selection list should be saved instead of traversing
the application pointer. Each view just overrides the function
returning a true/false value. We don't have to worry about null
pointers and the like.
- MGR: BOINCGUIApp should never need to know how either the views
work or the document. Move the code that determines which
RPCs should be fired into each of the views. Have the document
look for it there.
- MGR: Reduce duplicate code for hiding and showing an application
- MGR: Move some Windows and Mac specific code into functions
and streamline the application startup and shutdown rountines.
- MGR: Move the event processing that was in BOINCGUIApp into the
BaseFrame.
- MGR: General cleanup.
- MGR: Doxygen comments.
- MGR: Cleanup some warnings.
client/
rr_sim.cpp
clientgui/
AdvancedFrame.cpp, .h
AsyncRPC.cpp, .h
BOINCBaseFrame.cpp, .h
BOINCBaseView.cpp, .h
BOINCClientManager.cpp
BOINCGUIApp.cpp, .h
BOINCTaskBar.cpp
MainDocument.cpp, .h
sg_BoincSimpleGUI.cpp, .h
ViewProjects.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
WelcomePage.cpp
win_build/installerv2/
BOINC.ism
BOINCx64.ism
win_build/
sim.vcproj
svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
|
|
|
|
2004-04-10 09:11:03 +00:00
|
|
|
DECLARE_DYNAMIC_CLASS(CBOINCGUIApp)
|
|
|
|
|
|
|
|
protected:
|
2006-06-23 08:20:08 +00:00
|
|
|
int OnExit();
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2006-06-23 08:20:08 +00:00
|
|
|
void OnInitCmdLine(wxCmdLineParser &parser);
|
|
|
|
bool OnCmdLineParsed(wxCmdLineParser &parser);
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2006-06-23 08:20:08 +00:00
|
|
|
void DetectDisplayInfo();
|
2009-07-25 05:35:27 +00:00
|
|
|
void DetectAccessibilityEnabled();
|
- client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
- MGR: Have the BaseFrame call a function to determine if the
selection list should be saved instead of traversing
the application pointer. Each view just overrides the function
returning a true/false value. We don't have to worry about null
pointers and the like.
- MGR: BOINCGUIApp should never need to know how either the views
work or the document. Move the code that determines which
RPCs should be fired into each of the views. Have the document
look for it there.
- MGR: Reduce duplicate code for hiding and showing an application
- MGR: Move some Windows and Mac specific code into functions
and streamline the application startup and shutdown rountines.
- MGR: Move the event processing that was in BOINCGUIApp into the
BaseFrame.
- MGR: General cleanup.
- MGR: Doxygen comments.
- MGR: Cleanup some warnings.
client/
rr_sim.cpp
clientgui/
AdvancedFrame.cpp, .h
AsyncRPC.cpp, .h
BOINCBaseFrame.cpp, .h
BOINCBaseView.cpp, .h
BOINCClientManager.cpp
BOINCGUIApp.cpp, .h
BOINCTaskBar.cpp
MainDocument.cpp, .h
sg_BoincSimpleGUI.cpp, .h
ViewProjects.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
WelcomePage.cpp
win_build/installerv2/
BOINC.ism
BOINCx64.ism
win_build/
sim.vcproj
svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
|
|
|
void DetectRootDirectory();
|
|
|
|
void DetectDataDirectory();
|
2004-11-17 09:27:06 +00:00
|
|
|
|
2006-06-23 08:20:08 +00:00
|
|
|
void InitSupportedLanguages();
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2008-08-07 16:59:52 +00:00
|
|
|
int IdleTrackerAttach();
|
|
|
|
int IdleTrackerDetach();
|
2004-12-14 02:50:16 +00:00
|
|
|
|
2006-06-23 08:20:08 +00:00
|
|
|
wxConfig* m_pConfig;
|
|
|
|
wxLocale* m_pLocale;
|
|
|
|
wxLogBOINC* m_pLog;
|
2004-05-21 06:27:15 +00:00
|
|
|
|
2006-10-20 15:00:14 +00:00
|
|
|
CSkinManager* m_pSkinManager;
|
2006-06-23 08:20:08 +00:00
|
|
|
CBOINCBaseFrame* m_pFrame;
|
|
|
|
CMainDocument* m_pDocument;
|
|
|
|
CTaskBarIcon* m_pTaskBarIcon;
|
2009-12-22 20:15:55 +00:00
|
|
|
CDlgEventLog* m_pEventLog;
|
2005-10-01 08:56:37 +00:00
|
|
|
#ifdef __WXMAC__
|
2006-06-23 08:20:08 +00:00
|
|
|
CMacSystemMenu* m_pMacSystemMenu;
|
2004-10-25 21:42:47 +00:00
|
|
|
#endif
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2007-05-07 20:50:08 +00:00
|
|
|
wxString m_strBOINCMGRRootDirectory;
|
2007-11-30 18:52:41 +00:00
|
|
|
wxString m_strBOINCMGRDataDirectory;
|
2007-01-19 23:45:19 +00:00
|
|
|
wxString m_strBOINCArguments;
|
|
|
|
|
2009-07-25 05:35:27 +00:00
|
|
|
bool m_bAccessibilityEnabled;
|
|
|
|
|
2008-11-04 09:33:03 +00:00
|
|
|
bool m_bBOINCMGRAutoStarted;
|
|
|
|
int m_iBOINCMGRDisableAutoStart;
|
2008-11-04 08:08:16 +00:00
|
|
|
int m_iShutdownCoreClient;
|
|
|
|
int m_iDisplayExitDialog;
|
2006-06-23 08:20:08 +00:00
|
|
|
|
|
|
|
bool m_bGUIVisible;
|
2009-01-30 09:25:35 +00:00
|
|
|
|
2006-06-23 08:20:08 +00:00
|
|
|
int m_iGUISelected;
|
2009-01-30 09:25:35 +00:00
|
|
|
bool m_bDebugSkins;
|
2004-11-19 08:11:49 +00:00
|
|
|
|
2004-12-14 02:50:16 +00:00
|
|
|
#ifdef __WXMSW__
|
2006-06-23 08:20:08 +00:00
|
|
|
HINSTANCE m_hClientLibraryDll;
|
2004-12-14 02:50:16 +00:00
|
|
|
#endif
|
- client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
- MGR: Have the BaseFrame call a function to determine if the
selection list should be saved instead of traversing
the application pointer. Each view just overrides the function
returning a true/false value. We don't have to worry about null
pointers and the like.
- MGR: BOINCGUIApp should never need to know how either the views
work or the document. Move the code that determines which
RPCs should be fired into each of the views. Have the document
look for it there.
- MGR: Reduce duplicate code for hiding and showing an application
- MGR: Move some Windows and Mac specific code into functions
and streamline the application startup and shutdown rountines.
- MGR: Move the event processing that was in BOINCGUIApp into the
BaseFrame.
- MGR: General cleanup.
- MGR: Doxygen comments.
- MGR: Cleanup some warnings.
client/
rr_sim.cpp
clientgui/
AdvancedFrame.cpp, .h
AsyncRPC.cpp, .h
BOINCBaseFrame.cpp, .h
BOINCBaseView.cpp, .h
BOINCClientManager.cpp
BOINCGUIApp.cpp, .h
BOINCTaskBar.cpp
MainDocument.cpp, .h
sg_BoincSimpleGUI.cpp, .h
ViewProjects.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
WelcomePage.cpp
win_build/installerv2/
BOINC.ism
BOINCx64.ism
win_build/
sim.vcproj
svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
|
|
|
#ifdef __WXMAC__
|
|
|
|
ProcessSerialNumber m_psnCurrentProcess;
|
|
|
|
#endif
|
|
|
|
|
2004-12-14 02:50:16 +00:00
|
|
|
|
2005-02-07 04:47:18 +00:00
|
|
|
// The last value defined in the wxLanguage enum is wxLANGUAGE_USER_DEFINED.
|
|
|
|
// defined in: wx/intl.h
|
2006-06-23 08:20:08 +00:00
|
|
|
wxArrayString m_astrLanguages;
|
2008-08-20 16:07:06 +00:00
|
|
|
|
|
|
|
int m_bSafeMessageBoxDisplayed;
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2004-04-10 09:11:03 +00:00
|
|
|
public:
|
|
|
|
|
2006-06-23 08:20:08 +00:00
|
|
|
wxString m_strDefaultWindowStation;
|
|
|
|
wxString m_strDefaultDesktop;
|
|
|
|
wxString m_strDefaultDisplay;
|
2005-02-15 06:32:43 +00:00
|
|
|
|
2006-06-23 08:20:08 +00:00
|
|
|
bool OnInit();
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2006-10-25 14:09:47 +00:00
|
|
|
wxLocale* GetLocale() { return m_pLocale; }
|
2006-10-20 15:00:14 +00:00
|
|
|
CSkinManager* GetSkinManager() { return m_pSkinManager; }
|
2006-06-23 08:20:08 +00:00
|
|
|
CBOINCBaseFrame* GetFrame() { return m_pFrame; }
|
|
|
|
CMainDocument* GetDocument() { return m_pDocument; }
|
2007-11-30 18:52:41 +00:00
|
|
|
wxString GetRootDirectory() { return m_strBOINCMGRRootDirectory; }
|
|
|
|
wxString GetDataDirectory() { return m_strBOINCMGRDataDirectory; }
|
2009-07-25 05:35:27 +00:00
|
|
|
wxString GetArguments() { return m_strBOINCArguments; }
|
2009-12-23 05:23:48 +00:00
|
|
|
CDlgEventLog* GetEventLog() { return m_pEventLog; }
|
2006-06-23 08:20:08 +00:00
|
|
|
CTaskBarIcon* GetTaskBarIcon() { return m_pTaskBarIcon; }
|
2009-07-25 05:35:27 +00:00
|
|
|
void DeleteTaskBarIcon();
|
|
|
|
|
|
|
|
bool IsAccessibilityEnabled() { return m_bAccessibilityEnabled; }
|
|
|
|
|
2005-10-01 08:56:37 +00:00
|
|
|
#ifdef __WXMAC__
|
2006-06-23 08:20:08 +00:00
|
|
|
CMacSystemMenu* GetMacSystemMenu() { return m_pMacSystemMenu; }
|
2008-11-18 13:28:26 +00:00
|
|
|
void DeleteMacSystemMenu();
|
2009-07-25 05:35:27 +00:00
|
|
|
int ShouldShutdownCoreClient() { return true; }
|
2008-11-05 12:14:53 +00:00
|
|
|
#else
|
2009-07-25 05:35:27 +00:00
|
|
|
int ShouldShutdownCoreClient() { return m_iShutdownCoreClient; }
|
2008-11-05 12:14:53 +00:00
|
|
|
#endif
|
2009-07-25 05:35:27 +00:00
|
|
|
|
2008-11-04 09:33:03 +00:00
|
|
|
int GetBOINCMGRDisableAutoStart()
|
|
|
|
{ return m_iBOINCMGRDisableAutoStart; }
|
|
|
|
void SetBOINCMGRDisableAutoStart(int iDisableAutoStart)
|
|
|
|
{ m_iBOINCMGRDisableAutoStart = iDisableAutoStart; }
|
|
|
|
|
2008-11-10 19:44:54 +00:00
|
|
|
int GetBOINCMGRDisplayExitMessage()
|
|
|
|
{ return m_iDisplayExitDialog; }
|
|
|
|
void SetBOINCMGRDisplayExitMessage(int iDisplayExitMessage)
|
|
|
|
{ m_iDisplayExitDialog = iDisplayExitMessage; }
|
|
|
|
|
2008-11-04 09:33:03 +00:00
|
|
|
|
2006-06-23 08:20:08 +00:00
|
|
|
wxArrayString& GetSupportedLanguages() { return m_astrLanguages; }
|
|
|
|
|
2009-12-22 20:15:55 +00:00
|
|
|
bool DisplayEventLog();
|
2009-12-23 01:09:56 +00:00
|
|
|
void OnEventLogClose();
|
2009-12-22 20:15:55 +00:00
|
|
|
|
2006-10-30 03:41:32 +00:00
|
|
|
void FireReloadSkin();
|
- client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
- MGR: Have the BaseFrame call a function to determine if the
selection list should be saved instead of traversing
the application pointer. Each view just overrides the function
returning a true/false value. We don't have to worry about null
pointers and the like.
- MGR: BOINCGUIApp should never need to know how either the views
work or the document. Move the code that determines which
RPCs should be fired into each of the views. Have the document
look for it there.
- MGR: Reduce duplicate code for hiding and showing an application
- MGR: Move some Windows and Mac specific code into functions
and streamline the application startup and shutdown rountines.
- MGR: Move the event processing that was in BOINCGUIApp into the
BaseFrame.
- MGR: General cleanup.
- MGR: Doxygen comments.
- MGR: Cleanup some warnings.
client/
rr_sim.cpp
clientgui/
AdvancedFrame.cpp, .h
AsyncRPC.cpp, .h
BOINCBaseFrame.cpp, .h
BOINCBaseView.cpp, .h
BOINCClientManager.cpp
BOINCGUIApp.cpp, .h
BOINCTaskBar.cpp
MainDocument.cpp, .h
sg_BoincSimpleGUI.cpp, .h
ViewProjects.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
WelcomePage.cpp
win_build/installerv2/
BOINC.ism
BOINCx64.ism
win_build/
sim.vcproj
svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
|
|
|
void FrameClosed() { m_pFrame = NULL; }
|
|
|
|
|
|
|
|
int StartBOINCScreensaverTest();
|
2009-07-25 05:35:27 +00:00
|
|
|
int StartBOINCDefaultScreensaverTest();
|
2006-10-30 03:41:32 +00:00
|
|
|
|
2006-06-23 08:20:08 +00:00
|
|
|
bool SetActiveGUI(int iGUISelection, bool bShowWindow = true);
|
2009-01-16 06:41:52 +00:00
|
|
|
|
- client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
- MGR: Have the BaseFrame call a function to determine if the
selection list should be saved instead of traversing
the application pointer. Each view just overrides the function
returning a true/false value. We don't have to worry about null
pointers and the like.
- MGR: BOINCGUIApp should never need to know how either the views
work or the document. Move the code that determines which
RPCs should be fired into each of the views. Have the document
look for it there.
- MGR: Reduce duplicate code for hiding and showing an application
- MGR: Move some Windows and Mac specific code into functions
and streamline the application startup and shutdown rountines.
- MGR: Move the event processing that was in BOINCGUIApp into the
BaseFrame.
- MGR: General cleanup.
- MGR: Doxygen comments.
- MGR: Cleanup some warnings.
client/
rr_sim.cpp
clientgui/
AdvancedFrame.cpp, .h
AsyncRPC.cpp, .h
BOINCBaseFrame.cpp, .h
BOINCBaseView.cpp, .h
BOINCClientManager.cpp
BOINCGUIApp.cpp, .h
BOINCTaskBar.cpp
MainDocument.cpp, .h
sg_BoincSimpleGUI.cpp, .h
ViewProjects.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
WelcomePage.cpp
win_build/installerv2/
BOINC.ism
BOINCx64.ism
win_build/
sim.vcproj
svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
|
|
|
void OnRPCFinished( CRPCFinishedEvent& event );
|
2009-03-12 09:25:31 +00:00
|
|
|
void OnSystemShutDown( wxCloseEvent &event );
|
2006-11-03 15:18:19 +00:00
|
|
|
|
|
|
|
int ConfirmExit();
|
2008-07-23 14:16:59 +00:00
|
|
|
|
- client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
- MGR: Have the BaseFrame call a function to determine if the
selection list should be saved instead of traversing
the application pointer. Each view just overrides the function
returning a true/false value. We don't have to worry about null
pointers and the like.
- MGR: BOINCGUIApp should never need to know how either the views
work or the document. Move the code that determines which
RPCs should be fired into each of the views. Have the document
look for it there.
- MGR: Reduce duplicate code for hiding and showing an application
- MGR: Move some Windows and Mac specific code into functions
and streamline the application startup and shutdown rountines.
- MGR: Move the event processing that was in BOINCGUIApp into the
BaseFrame.
- MGR: General cleanup.
- MGR: Doxygen comments.
- MGR: Cleanup some warnings.
client/
rr_sim.cpp
clientgui/
AdvancedFrame.cpp, .h
AsyncRPC.cpp, .h
BOINCBaseFrame.cpp, .h
BOINCBaseView.cpp, .h
BOINCClientManager.cpp
BOINCGUIApp.cpp, .h
BOINCTaskBar.cpp
MainDocument.cpp, .h
sg_BoincSimpleGUI.cpp, .h
ViewProjects.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
WelcomePage.cpp
win_build/installerv2/
BOINC.ism
BOINCx64.ism
win_build/
sim.vcproj
svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
|
|
|
int SafeMessageBox(
|
|
|
|
const wxString& message,
|
|
|
|
const wxString& caption = wxMessageBoxCaptionStr,
|
|
|
|
long style = wxOK | wxCENTRE,
|
|
|
|
wxWindow *parent = NULL,
|
|
|
|
int x = wxDefaultCoord,
|
|
|
|
int y = wxDefaultCoord
|
|
|
|
);
|
|
|
|
|
|
|
|
bool IsApplicationVisible();
|
|
|
|
void ShowApplication(bool bShow);
|
2009-12-18 22:44:10 +00:00
|
|
|
bool ShowInterface();
|
|
|
|
bool ShowNotifications();
|
2008-08-20 16:07:06 +00:00
|
|
|
|
|
|
|
bool IsModalDialogDisplayed();
|
2009-03-10 02:16:34 +00:00
|
|
|
bool IsSafeMesageBoxDisplayed() { return (m_bSafeMessageBoxDisplayed != 0); };
|
- client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
- MGR: Have the BaseFrame call a function to determine if the
selection list should be saved instead of traversing
the application pointer. Each view just overrides the function
returning a true/false value. We don't have to worry about null
pointers and the like.
- MGR: BOINCGUIApp should never need to know how either the views
work or the document. Move the code that determines which
RPCs should be fired into each of the views. Have the document
look for it there.
- MGR: Reduce duplicate code for hiding and showing an application
- MGR: Move some Windows and Mac specific code into functions
and streamline the application startup and shutdown rountines.
- MGR: Move the event processing that was in BOINCGUIApp into the
BaseFrame.
- MGR: General cleanup.
- MGR: Doxygen comments.
- MGR: Cleanup some warnings.
client/
rr_sim.cpp
clientgui/
AdvancedFrame.cpp, .h
AsyncRPC.cpp, .h
BOINCBaseFrame.cpp, .h
BOINCBaseView.cpp, .h
BOINCClientManager.cpp
BOINCGUIApp.cpp, .h
BOINCTaskBar.cpp
MainDocument.cpp, .h
sg_BoincSimpleGUI.cpp, .h
ViewProjects.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
WelcomePage.cpp
win_build/installerv2/
BOINC.ism
BOINCx64.ism
win_build/
sim.vcproj
svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
|
|
|
|
2008-10-14 03:28:34 +00:00
|
|
|
int FilterEvent(wxEvent &event);
|
2008-08-20 16:07:06 +00:00
|
|
|
|
2008-10-30 01:55:11 +00:00
|
|
|
|
- client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
- MGR: Have the BaseFrame call a function to determine if the
selection list should be saved instead of traversing
the application pointer. Each view just overrides the function
returning a true/false value. We don't have to worry about null
pointers and the like.
- MGR: BOINCGUIApp should never need to know how either the views
work or the document. Move the code that determines which
RPCs should be fired into each of the views. Have the document
look for it there.
- MGR: Reduce duplicate code for hiding and showing an application
- MGR: Move some Windows and Mac specific code into functions
and streamline the application startup and shutdown rountines.
- MGR: Move the event processing that was in BOINCGUIApp into the
BaseFrame.
- MGR: General cleanup.
- MGR: Doxygen comments.
- MGR: Cleanup some warnings.
client/
rr_sim.cpp
clientgui/
AdvancedFrame.cpp, .h
AsyncRPC.cpp, .h
BOINCBaseFrame.cpp, .h
BOINCBaseView.cpp, .h
BOINCClientManager.cpp
BOINCGUIApp.cpp, .h
BOINCTaskBar.cpp
MainDocument.cpp, .h
sg_BoincSimpleGUI.cpp, .h
ViewProjects.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
WelcomePage.cpp
win_build/installerv2/
BOINC.ism
BOINCx64.ism
win_build/
sim.vcproj
svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
|
|
|
int UpdateSystemIdleDetection();
|
2008-10-30 01:55:11 +00:00
|
|
|
|
|
|
|
DECLARE_EVENT_TABLE()
|
2004-04-10 09:11:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
DECLARE_APP(CBOINCGUIApp)
|
2004-04-11 04:37:10 +00:00
|
|
|
|
|
|
|
|
2004-04-11 05:09:18 +00:00
|
|
|
#endif
|
|
|
|
|
2008-09-27 03:21:09 +00:00
|
|
|
/// @}
|