~ubuntu-branches/ubuntu/lucid/boinc/lucid

« back to all changes in this revision

Viewing changes to clientgui/BOINCGUIApp.h

  • Committer: Bazaar Package Importer
  • Author(s): Frank S. Thomas, Frank S. Thomas
  • Date: 2008-05-31 08:02:47 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080531080247-4ce890lp2rc768cr
Tags: 6.2.7-1
[ Frank S. Thomas ]
* New upstream release.
  - BOINC Manager: Redraw disk usage charts immediately after connecting to
    a (different) client. (closes: 463823)
* debian/copyright:
  - Added the instructions from debian/README.Debian-source about how
    repackaged BOINC tarballs can be reproduced because DevRef now
    recommends to put this here instead of in the afore-mentioned file.
  - Updated for the new release.
* Removed the obsolete debian/README.Debian-source.
* For consistency upstream renamed the core client and the command tool
  ("boinc_client" to "boinc" and "boinc_cmd" to "boinccmd"). Done the same
  in all packages and created symlinks with the old names for the binaries
  and man pages. Also added an entry in debian/boinc-client.NEWS explaining
  this change.
* debian/rules: Do not list Makefile.ins in the clean target individually,
  just remove all that can be found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
// To view the GNU Lesser General Public License visit
16
16
// http://www.gnu.org/copyleft/lesser.html
17
17
// or write to the Free Software Foundation, Inc.,
18
 
// 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
18
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 
20
20
#ifndef _BOINCGUIAPP_H_
21
21
#define _BOINCGUIAPP_H_
52
52
 
53
53
    void                InitSupportedLanguages();
54
54
 
55
 
    bool                IsBOINCCoreRunning();
56
 
    void                StartupBOINCCore();
57
 
    void                ShutdownBOINCCore();
58
55
#ifdef __WXMAC__
59
 
    bool                ProcessExists(pid_t thePID);
60
56
    static OSErr        QuitAppleEventHandler( const AppleEvent *appleEvt, AppleEvent* reply, UInt32 refcon );
61
57
#endif
62
58
 
73
69
    CTaskBarIcon*       m_pTaskBarIcon;
74
70
#ifdef __WXMAC__
75
71
    CMacSystemMenu*     m_pMacSystemMenu;
76
 
    bool                m_bClientRunningAsDaemon;
77
72
#endif
78
73
 
79
 
    bool                m_bBOINCStartedByManager;
80
74
    wxString            m_strBOINCMGRRootDirectory;
 
75
    wxString            m_strBOINCMGRDataDirectory;
81
76
    wxString            m_strBOINCArguments;
82
77
 
83
78
    int                 m_iDisplayExitWarning;
85
80
    bool                m_bGUIVisible;
86
81
    int                 m_iGUISelected;
87
82
 
88
 
    int                 m_lBOINCCoreProcessId;
89
 
 
90
83
#ifdef __WXMSW__
91
 
    HANDLE              m_hBOINCCoreProcess;
92
84
    HINSTANCE           m_hClientLibraryDll;
93
85
#endif
94
86
 
104
96
 
105
97
    bool                OnInit();
106
98
 
107
 
    bool                AutoRestartBOINC();
108
 
 
109
99
    int                 UpdateSystemIdleDetection();
110
100
 
111
101
    int                 StartBOINCScreensaverTest();
114
104
    CSkinManager*       GetSkinManager()            { return m_pSkinManager; }
115
105
    CBOINCBaseFrame*    GetFrame()                  { return m_pFrame; }
116
106
    CMainDocument*      GetDocument()               { return m_pDocument; }
 
107
    wxString            GetArguments()              { return m_strBOINCArguments; }
 
108
    wxString            GetRootDirectory()          { return m_strBOINCMGRRootDirectory; }
 
109
    wxString            GetDataDirectory()          { return m_strBOINCMGRDataDirectory; }
117
110
#if defined(__WXMSW__) || defined(__WXMAC__)
118
111
    CTaskBarIcon*       GetTaskBarIcon()            { return m_pTaskBarIcon; }
119
112
#endif