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

« back to all changes in this revision

Viewing changes to clienttray/tray_win.h

  • Committer: Bazaar Package Importer
  • Author(s): Frank S. Thomas, Frank S. Thomas
  • Date: 2007-10-25 20:54:09 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071025205409-ib4417foffej3s4s
Tags: 5.10.27-1
[ Frank S. Thomas ]
* New upstream release. (closes: #447929)
  - Handles change in /proc/cpuinfo on powerpc introduced in Linux 2.6.23.
    Thanks to Thibaut VARENE <varenet@debian.org> for the patch.
    (closes: #437459)
  - Allows to set arbitrary many alternate platforms in the client's config
    file cc_config.xml with the <alt_platform> element which is a direct
    child of the <options> element. (closes: #437326)
  - BOINC Manager: At account creation check if wxGetUserName() returned an
    empty string and if it did use the output of wxGetUserId() instead.
    Thanks to Morita Sho <morita-pub-en-debian@inz.sakura.ne.jp> for the
    excellent bug report. (closes: #447320)
* debian/control:
  - Moved Homepage pseudo field in the long descriptions to the source stanza
    because this is now a propper debian/control field supported by dpkg.
  - Removed XS- prefix from Vcs fields since they are now officially
    supported by dpkg.
* debian/boinc-client.init: Print the scheduling status of boinc_client's
  children only if there are any present, otherwise schedtool would be
  called without arguments and would print its usage text.
* debian/icons/: Use icons with transparent background.
* debian/boinc-manager.desktop:
  - Addded Portuguese translations for GenericName and Comment, thanks to
    Marco Rodrigues <gothicx@sapo.pt>.
  - Monitor is a subcategory of the System main category, so use System
    instead of Utility.
  - Removed the Encoding key since it is deprecated in the Desktop Entry
    Specification 1.0 and added the Version key.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Berkeley Open Infrastructure for Network Computing
 
2
// http://boinc.berkeley.edu
 
3
// Copyright (C) 2005 University of California
 
4
//
 
5
// This is free software; you can redistribute it and/or
 
6
// modify it under the terms of the GNU Lesser General Public
 
7
// License as published by the Free Software Foundation;
 
8
// either version 2.1 of the License, or (at your option) any later version.
 
9
//
 
10
// This software is distributed in the hope that it will be useful,
 
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
13
// See the GNU Lesser General Public License for more details.
 
14
//
 
15
// To view the GNU Lesser General Public License visit
 
16
// http://www.gnu.org/copyleft/lesser.html
 
17
// or write to the Free Software Foundation, Inc.,
 
18
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
19
// 
 
20
 
 
21
#ifndef _BOINCTRAY_WIN_H
 
22
#define _BOINCTRAY_WIN_H
 
23
 
 
24
 
 
25
//-----------------------------------------------------------------------------
 
26
// Name: class CBOINCTray
 
27
// Desc: BOINC Tray class
 
28
//-----------------------------------------------------------------------------
 
29
class CBOINCTray
 
30
{
 
31
public:
 
32
    CBOINCTray();
 
33
 
 
34
    virtual INT            Run( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow );
 
35
 
 
36
protected:
 
37
    BOOL                    CreateDataManagementThread();
 
38
    BOOL                    DestroyDataManagementThread();
 
39
 
 
40
    DWORD WINAPI            DataManagementProc();
 
41
    static DWORD WINAPI     DataManagementProcStub( LPVOID lpParam );
 
42
        LRESULT                 TrayProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
 
43
    static LRESULT CALLBACK TrayProcStub( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
 
44
 
 
45
    HANDLE                  m_hDataManagementThread;
 
46
    BOOL                    m_bClientLibraryInitialized;
 
47
};
 
48
 
 
49
#endif