1
// Berkeley Open Infrastructure for Network Computing
2
// http://boinc.berkeley.edu
3
// Copyright (C) 2005 University of California
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.
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.
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
21
#ifndef _BOINCTRAY_WIN_H
22
#define _BOINCTRAY_WIN_H
25
//-----------------------------------------------------------------------------
26
// Name: class CBOINCTray
27
// Desc: BOINC Tray class
28
//-----------------------------------------------------------------------------
34
virtual INT Run( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow );
37
BOOL CreateDataManagementThread();
38
BOOL DestroyDataManagementThread();
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 );
45
HANDLE m_hDataManagementThread;
46
BOOL m_bClientLibraryInitialized;