SS: Implement basic new functionality in screensaver coordinator (tested on Mac only so far)

svn path=/trunk/boinc/; revision=17147
This commit is contained in:
Charlie Fenton 2009-02-05 12:44:39 +00:00
parent 2c89b4103e
commit 25c5eb2617
2 changed files with 1157 additions and 1156 deletions

View File

@ -1116,7 +1116,7 @@ David 3 Feb 2009
Makefile.am
Charlie Feb 4 2009
-SS: Begin work on upgrading screensaver coordinator for new functionality:
- SS: Begin work on upgrading screensaver coordinator for new functionality:
- add filenames for ss config file and default OpenLG ss executable
- add sandbox security support for these 2 files.
@ -1141,7 +1141,7 @@ Rom 5 Feb 2008
ProjectListCtrl.cpp, .h
Charlie Feb 5 2009
-SS: Implement basic new functionality in screensaver coordinator.
- SS: Implement basic new functionality in screensaver coordinator.
- Note: this is tested on Mac only at this point.
client/

View File

@ -40,6 +40,7 @@
#ifdef _WIN32
#include "gui_rpc_client.h"
#include "screensaver_win.h"
#include "str_util.h"
#endif
#ifdef __APPLE__
@ -379,7 +380,7 @@ void *CScreensaver::DataManagementProc() {
char * default_ss_dir_path = "/Library/Application Support/BOINC Data";
#else
// TODO: Obtain correct path to Windows default OpenGL screensaver executable
char * default_ss_dir_path = "C:\Program Files\BOINC";
char * default_ss_dir_path = "C:\\Program Files\\BOINC";
#endif
strlcpy(full_path, default_ss_dir_path, sizeof(full_path));
strlcat(full_path, "/", sizeof(full_path));