mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4425
This commit is contained in:
parent
0e02305b34
commit
d7ead40411
|
@ -87,7 +87,9 @@ extern APP_INIT_DATA aid;
|
|||
/////////// IMPLEMENTATION STUFF BEGINS HERE
|
||||
|
||||
extern APP_CLIENT_SHM *app_client_shm;
|
||||
#ifdef _WIN32
|
||||
extern HANDLE worker_thread_handle;
|
||||
#endif
|
||||
|
||||
/////////// IMPLEMENTATION STUFF ENDS HERE
|
||||
|
||||
|
|
|
@ -18830,3 +18830,15 @@ David 25 Oct 2004
|
|||
api/
|
||||
boinc_api.C,h
|
||||
graphics_api.C
|
||||
|
||||
David 25 Oct 2004
|
||||
- fix compile errors.
|
||||
I conditionally commented out stuff related to taskbar icon
|
||||
in the BOINC GUI code,
|
||||
since taskbar icon doesn't seem to exist on X11/GTK
|
||||
|
||||
api/
|
||||
boinc_api.h
|
||||
clientgui/
|
||||
BOINCGUIApp.cpp,h
|
||||
Makefile.old
|
||||
|
|
|
@ -74,9 +74,11 @@ bool CBOINCGUIApp::OnInit()
|
|||
m_pFrame = new CMainFrame(GetAppName());
|
||||
wxASSERT(NULL != m_pFrame);
|
||||
|
||||
#ifndef NOTASKBAR
|
||||
// Initialize the task bar icon
|
||||
m_pTaskBarIcon = new CTaskBarIcon();
|
||||
wxASSERT(NULL != m_pTaskBarIcon);
|
||||
#endif
|
||||
|
||||
SetTopWindow(m_pFrame);
|
||||
m_pFrame->Show();
|
||||
|
@ -87,8 +89,10 @@ bool CBOINCGUIApp::OnInit()
|
|||
|
||||
int CBOINCGUIApp::OnExit()
|
||||
{
|
||||
#ifndef NOTASKBAR
|
||||
if (m_pTaskBarIcon)
|
||||
delete m_pTaskBarIcon;
|
||||
#endif
|
||||
|
||||
if (m_pDocument)
|
||||
{
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
#include "MainFrame.h"
|
||||
#include "MainDocument.h"
|
||||
#ifndef NOTASKBAR
|
||||
#include "TaskBarIcon.h"
|
||||
#endif
|
||||
|
||||
|
||||
class CBOINCGUIApp : public wxApp
|
||||
|
@ -52,7 +54,9 @@ protected:
|
|||
|
||||
CMainFrame* m_pFrame;
|
||||
CMainDocument* m_pDocument;
|
||||
#ifndef NOTASKBAR
|
||||
CTaskBarIcon* m_pTaskBarIcon;
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
||||
|
@ -60,7 +64,9 @@ public:
|
|||
|
||||
CMainFrame* GetFrame() { return m_pFrame; };
|
||||
CMainDocument* GetDocument() { return m_pDocument; };
|
||||
#ifndef NOTASKBAR
|
||||
CTaskBarIcon* GetTaskBarIcon() { return m_pTaskBarIcon; };
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
CXX = $(shell wx-config --cxx)
|
||||
|
||||
# comment out the following as needed
|
||||
OTHER_LIBS = -lsocket -lnsl
|
||||
#OTHER_LIBS = -lsocket -lnsl
|
||||
|
||||
CFLAGS = -g -I ../lib
|
||||
CFLAGS = -g -I ../lib -DNOTASKBAR
|
||||
|
||||
PROGRAM = boinc_gui
|
||||
|
||||
|
|
Loading…
Reference in New Issue