- WINSCR: Remove unneeded header files

- SCR: Shuffle headers around so that it'll build on both Windows and
        Mac without having to put in duplicate entries.
        
    clientscr/
        screensaver.cpp

svn path=/trunk/boinc/; revision=17370
This commit is contained in:
Rom Walton 2009-02-25 14:56:48 +00:00
parent 8d84e7cacc
commit e778824e81
2 changed files with 29 additions and 17 deletions

View File

@ -1991,3 +1991,11 @@ Rom 24 Feb 2009
clientscr/
screensaver_win.cpp
Rom 25 Feb 2009
- WINSCR: Remove unneeded header files
- SCR: Shuffle headers around so that it'll build on both Windows and
Mac without having to put in duplicate entries.
clientscr/
screensaver.cpp

View File

@ -15,30 +15,41 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
// System Includes
//
#ifdef _WIN32
#include "boinc_win.h"
#include <windowsx.h>
#include <mmsystem.h>
#include <regstr.h>
#include <strsafe.h>
#include "boinc_ss.h"
#endif
#ifdef __APPLE__
#include <Carbon/Carbon.h>
#include <sys/wait.h>
#endif
// Common application includes
//
#include "diagnostics.h"
#include "common_defs.h"
#include "util.h"
#include "common_defs.h"
#include "filesys.h"
#include "error_numbers.h"
#include "gui_rpc_client.h"
#include "str_util.h"
#include "screensaver.h"
// Platform specific application includes
//
#if defined(_WIN32)
#include "screensaver_win.h"
#elif defined(__APPLE__)
#include "Mac_Saver_Module.h"
#endif
#ifdef _WIN32
#include "gui_rpc_client.h"
#include "screensaver_win.h"
#include "str_util.h"
// Allow for Unicode wide characters
#define PATH_SEPARATOR (_T("\\"))
#define THE_DEFAULT_SS_EXECUTABLE (_T(DEFAULT_SS_EXECUTABLE))
@ -52,13 +63,6 @@
#define DEFAULT_GFX_CANT_CONNECT (ERR_CONNECT & 0xff)
#endif
#ifdef __APPLE__
#include <Carbon/Carbon.h>
#include <sys/wait.h>
#include "gui_rpc_client.h" // The order of included headers is critical here. Do not move this!
#include "Mac_Saver_Module.h"
#endif
#include "screensaver.h"
// Flags for testing & debugging
#define SIMULATE_NO_GRAPHICS 0