SCR: make second argument optional in get_random_graphics_app() and get_random_graphics_app()

svn path=/trunk/boinc/; revision=13590
This commit is contained in:
Charlie Fenton 2007-09-16 21:48:01 +00:00
parent 22dbfd13e0
commit 51d953f7de
2 changed files with 9 additions and 2 deletions

View File

@ -8487,3 +8487,10 @@ Charlie 13 Sep 2007
lib/ lib/
gui_rpc_client.h gui_rpc_client.h
gui_rpc_client_ops.C gui_rpc_client_ops.C
Charlie 16 Sep 2007
- SCR: make second argument optional in get_random_graphics_app() and
get_random_graphics_app().
clientscr/
screensaver.h

View File

@ -25,11 +25,11 @@
extern bool is_same_task(RESULT* taska, RESULT* taskb); extern bool is_same_task(RESULT* taska, RESULT* taskb);
// Count the number of active graphics-capable apps // Count the number of active graphics-capable apps
extern int count_active_graphic_apps(RESULTS& results, RESULT* exclude); extern int count_active_graphic_apps(RESULTS& results, RESULT* exclude = NULL);
// Choose a ramdom graphics application from the vector that // Choose a ramdom graphics application from the vector that
// was passed in. // was passed in.
extern RESULT* get_random_graphics_app(RESULTS& results, RESULT* exclude); extern RESULT* get_random_graphics_app(RESULTS& results, RESULT* exclude = NULL);
// Launch the screensaver // Launch the screensaver
#ifdef _WIN32 #ifdef _WIN32