mirror of https://github.com/BOINC/boinc.git
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:
parent
2c89b4103e
commit
25c5eb2617
|
@ -40,6 +40,7 @@
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include "gui_rpc_client.h"
|
#include "gui_rpc_client.h"
|
||||||
#include "screensaver_win.h"
|
#include "screensaver_win.h"
|
||||||
|
#include "str_util.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
@ -379,7 +380,7 @@ void *CScreensaver::DataManagementProc() {
|
||||||
char * default_ss_dir_path = "/Library/Application Support/BOINC Data";
|
char * default_ss_dir_path = "/Library/Application Support/BOINC Data";
|
||||||
#else
|
#else
|
||||||
// TODO: Obtain correct path to Windows default OpenGL screensaver executable
|
// 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
|
#endif
|
||||||
strlcpy(full_path, default_ss_dir_path, sizeof(full_path));
|
strlcpy(full_path, default_ss_dir_path, sizeof(full_path));
|
||||||
strlcat(full_path, "/", sizeof(full_path));
|
strlcat(full_path, "/", sizeof(full_path));
|
||||||
|
|
Loading…
Reference in New Issue