diff --git a/clientgui/sg_BoincSimpleGUI.cpp b/clientgui/sg_BoincSimpleGUI.cpp index e05188c571..bec72593cf 100644 --- a/clientgui/sg_BoincSimpleGUI.cpp +++ b/clientgui/sg_BoincSimpleGUI.cpp @@ -24,25 +24,26 @@ #include "stdwx.h" #include "BOINCGUIApp.h" -#include "BOINCBaseFrame.h" #include "Events.h" -#include "common/wxAnimate.h" -#include "common/wxFlatNotebook.h" -#include "sg_ImageLoader.h" -#include "sg_DlgPreferences.h" +#include "BOINCBaseFrame.h" + +#include "sg_BoincSimpleGUI.h" #include "sg_SkinClass.h" +#include "sg_ImageLoader.h" +#include "sg_StatImageLoader.h" +#include "sg_ProjectsComponent.h" #include "sg_ViewTabPage.h" -#include "error_numbers.h" -#include "parse.h" -#include +#include "sg_DlgPreferences.h" + #include "wizardex.h" #include "BOINCWizards.h" #include "BOINCBaseWizard.h" #include "WizardAttachProject.h" #include "WizardAccountManager.h" -#include "sg_StatImageLoader.h" -#include "sg_BoincSimpleGUI.h" #include "app_ipc.h" +#include "error_numbers.h" +#include "parse.h" +#include #include "res/boinc.xpm" diff --git a/clientgui/sg_BoincSimpleGUI.h b/clientgui/sg_BoincSimpleGUI.h index f065c72e85..5e43c7587e 100644 --- a/clientgui/sg_BoincSimpleGUI.h +++ b/clientgui/sg_BoincSimpleGUI.h @@ -21,9 +21,16 @@ #ifndef _SIMPLEFRAME_H_ #define _SIMPLEFRAME_H_ -class CViewTabPage; -class ImageLoader; +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "sg_BoincSimpleGUI.cpp" +#endif +class CViewTabPage; +class StatImageLoader; +class SkinClass; +class ImageLoader; +#include "common/wxAnimate.h" +#include "common/wxFlatNotebook.h" // Define a new frame class CSimpleFrame : public CBOINCBaseFrame diff --git a/clientgui/sg_DlgPreferences.cpp b/clientgui/sg_DlgPreferences.cpp index 1cbcddc7d9..90b27fd924 100644 --- a/clientgui/sg_DlgPreferences.cpp +++ b/clientgui/sg_DlgPreferences.cpp @@ -1,11 +1,30 @@ -#include "stdwx.h" +// Berkeley Open Infrastructure for Network Computing +// http://boinc.berkeley.edu +// Copyright (C) 2005 University of California +// +// This is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; +// either version 2.1 of the License, or (at your option) any later version. +// +// This software is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// To view the GNU Lesser General Public License visit +// http://www.gnu.org/copyleft/lesser.html +// or write to the Free Software Foundation, Inc., +// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// Don't modify comment +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma implementation "sg_DlgPreferences.h" +#endif + +#include "stdwx.h" #include "sg_DlgPreferences.h" #include "sg_SkinClass.h" -//[inc]add your include files here -//[inc]end your include enum { ID_OPENBUTTON = 10001, diff --git a/clientgui/sg_DlgPreferences.h b/clientgui/sg_DlgPreferences.h index 5ae20a10a1..29d6453c2a 100644 --- a/clientgui/sg_DlgPreferences.h +++ b/clientgui/sg_DlgPreferences.h @@ -1,7 +1,31 @@ +// Berkeley Open Infrastructure for Network Computing +// http://boinc.berkeley.edu +// Copyright (C) 2005 University of California +// +// This is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; +// either version 2.1 of the License, or (at your option) any later version. +// +// This software is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// To view the GNU Lesser General Public License visit +// http://www.gnu.org/copyleft/lesser.html +// or write to the Free Software Foundation, Inc., +// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + #ifndef _DLG_PREFERENCES_H_ #define _DLG_PREFERENCES_H_ -#include "sg_SkinClass.h" +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "sg_DlgPreferences.cpp" +#endif + +class SkinClass; class CDlgPreferences:public wxDialog { diff --git a/clientgui/sg_ImageLoader.cpp b/clientgui/sg_ImageLoader.cpp index 5b95f14e2d..b3dea1e012 100644 --- a/clientgui/sg_ImageLoader.cpp +++ b/clientgui/sg_ImageLoader.cpp @@ -1,5 +1,27 @@ -#include "stdwx.h" +// Berkeley Open Infrastructure for Network Computing +// http://boinc.berkeley.edu +// Copyright (C) 2005 University of California +// +// This is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; +// either version 2.1 of the License, or (at your option) any later version. +// +// This software is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// To view the GNU Lesser General Public License visit +// http://www.gnu.org/copyleft/lesser.html +// or write to the Free Software Foundation, Inc., +// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma implementation "sg_ImageLoader.h" +#endif + +#include "stdwx.h" #include "sg_ImageLoader.h" BEGIN_EVENT_TABLE(ImageLoader, wxWindow) diff --git a/clientgui/sg_ImageLoader.h b/clientgui/sg_ImageLoader.h index 57cc6ccf5e..4076f745fd 100644 --- a/clientgui/sg_ImageLoader.h +++ b/clientgui/sg_ImageLoader.h @@ -1,6 +1,29 @@ +// Berkeley Open Infrastructure for Network Computing +// http://boinc.berkeley.edu +// Copyright (C) 2005 University of California +// +// This is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; +// either version 2.1 of the License, or (at your option) any later version. +// +// This software is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// To view the GNU Lesser General Public License visit +// http://www.gnu.org/copyleft/lesser.html +// or write to the Free Software Foundation, Inc., +// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + #ifndef _IMAGELOADER_H_ #define _IMAGELOADER_H_ +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "sg_ImageLoader.cpp" +#endif + class ImageLoader : public wxWindow { public: diff --git a/clientgui/sg_SkinClass.cpp b/clientgui/sg_SkinClass.cpp index 027e3cf215..2da0407674 100644 --- a/clientgui/sg_SkinClass.cpp +++ b/clientgui/sg_SkinClass.cpp @@ -1,7 +1,29 @@ +// Berkeley Open Infrastructure for Network Computing +// http://boinc.berkeley.edu +// Copyright (C) 2005 University of California +// +// This is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; +// either version 2.1 of the License, or (at your option) any later version. +// +// This software is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// To view the GNU Lesser General Public License visit +// http://www.gnu.org/copyleft/lesser.html +// or write to the Free Software Foundation, Inc., +// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma implementation "sg_SkinClass.h" +#endif + #include "stdwx.h" - #include "sg_SkinClass.h" - +#include SkinClass::SkinClass() { diff --git a/clientgui/sg_SkinClass.h b/clientgui/sg_SkinClass.h index 25e46d3451..3e0b1cf403 100644 --- a/clientgui/sg_SkinClass.h +++ b/clientgui/sg_SkinClass.h @@ -1,7 +1,28 @@ +// Berkeley Open Infrastructure for Network Computing +// http://boinc.berkeley.edu +// Copyright (C) 2005 University of California +// +// This is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; +// either version 2.1 of the License, or (at your option) any later version. +// +// This software is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// To view the GNU Lesser General Public License visit +// http://www.gnu.org/copyleft/lesser.html +// or write to the Free Software Foundation, Inc., +// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + #ifndef _SKIN_CLASS #define _SKIN_CLASS -#include +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "sg_SkinClass.cpp" +#endif class SkinClass { diff --git a/clientgui/sg_ViewTabPage.cpp b/clientgui/sg_ViewTabPage.cpp index c3a3161e69..9d377e9751 100644 --- a/clientgui/sg_ViewTabPage.cpp +++ b/clientgui/sg_ViewTabPage.cpp @@ -23,7 +23,6 @@ #include "stdwx.h" #include "BOINCGUIApp.h" -#include "MainDocument.h" #include "app_ipc.h" #include "common/wxAnimate.h" #include "common/wxFlatNotebook.h"