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
|
/////////// IMPLEMENTATION STUFF BEGINS HERE
|
||||||
|
|
||||||
extern APP_CLIENT_SHM *app_client_shm;
|
extern APP_CLIENT_SHM *app_client_shm;
|
||||||
|
#ifdef _WIN32
|
||||||
extern HANDLE worker_thread_handle;
|
extern HANDLE worker_thread_handle;
|
||||||
|
#endif
|
||||||
|
|
||||||
/////////// IMPLEMENTATION STUFF ENDS HERE
|
/////////// IMPLEMENTATION STUFF ENDS HERE
|
||||||
|
|
||||||
|
|
|
@ -18830,3 +18830,15 @@ David 25 Oct 2004
|
||||||
api/
|
api/
|
||||||
boinc_api.C,h
|
boinc_api.C,h
|
||||||
graphics_api.C
|
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());
|
m_pFrame = new CMainFrame(GetAppName());
|
||||||
wxASSERT(NULL != m_pFrame);
|
wxASSERT(NULL != m_pFrame);
|
||||||
|
|
||||||
|
#ifndef NOTASKBAR
|
||||||
// Initialize the task bar icon
|
// Initialize the task bar icon
|
||||||
m_pTaskBarIcon = new CTaskBarIcon();
|
m_pTaskBarIcon = new CTaskBarIcon();
|
||||||
wxASSERT(NULL != m_pTaskBarIcon);
|
wxASSERT(NULL != m_pTaskBarIcon);
|
||||||
|
#endif
|
||||||
|
|
||||||
SetTopWindow(m_pFrame);
|
SetTopWindow(m_pFrame);
|
||||||
m_pFrame->Show();
|
m_pFrame->Show();
|
||||||
|
@ -87,8 +89,10 @@ bool CBOINCGUIApp::OnInit()
|
||||||
|
|
||||||
int CBOINCGUIApp::OnExit()
|
int CBOINCGUIApp::OnExit()
|
||||||
{
|
{
|
||||||
|
#ifndef NOTASKBAR
|
||||||
if (m_pTaskBarIcon)
|
if (m_pTaskBarIcon)
|
||||||
delete m_pTaskBarIcon;
|
delete m_pTaskBarIcon;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (m_pDocument)
|
if (m_pDocument)
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,9 @@
|
||||||
|
|
||||||
#include "MainFrame.h"
|
#include "MainFrame.h"
|
||||||
#include "MainDocument.h"
|
#include "MainDocument.h"
|
||||||
|
#ifndef NOTASKBAR
|
||||||
#include "TaskBarIcon.h"
|
#include "TaskBarIcon.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
class CBOINCGUIApp : public wxApp
|
class CBOINCGUIApp : public wxApp
|
||||||
|
@ -52,7 +54,9 @@ protected:
|
||||||
|
|
||||||
CMainFrame* m_pFrame;
|
CMainFrame* m_pFrame;
|
||||||
CMainDocument* m_pDocument;
|
CMainDocument* m_pDocument;
|
||||||
|
#ifndef NOTASKBAR
|
||||||
CTaskBarIcon* m_pTaskBarIcon;
|
CTaskBarIcon* m_pTaskBarIcon;
|
||||||
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -60,7 +64,9 @@ public:
|
||||||
|
|
||||||
CMainFrame* GetFrame() { return m_pFrame; };
|
CMainFrame* GetFrame() { return m_pFrame; };
|
||||||
CMainDocument* GetDocument() { return m_pDocument; };
|
CMainDocument* GetDocument() { return m_pDocument; };
|
||||||
|
#ifndef NOTASKBAR
|
||||||
CTaskBarIcon* GetTaskBarIcon() { return m_pTaskBarIcon; };
|
CTaskBarIcon* GetTaskBarIcon() { return m_pTaskBarIcon; };
|
||||||
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
CXX = $(shell wx-config --cxx)
|
CXX = $(shell wx-config --cxx)
|
||||||
|
|
||||||
# comment out the following as needed
|
# 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
|
PROGRAM = boinc_gui
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue