From 51d953f7dee52e387b07fda2615c93133ef7309d Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sun, 16 Sep 2007 21:48:01 +0000 Subject: [PATCH] SCR: make second argument optional in get_random_graphics_app() and get_random_graphics_app() svn path=/trunk/boinc/; revision=13590 --- checkin_notes | 7 +++++++ clientscr/screensaver.h | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index 77c7fcaf13..daf4979a08 100755 --- a/checkin_notes +++ b/checkin_notes @@ -8487,3 +8487,10 @@ Charlie 13 Sep 2007 lib/ gui_rpc_client.h 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 diff --git a/clientscr/screensaver.h b/clientscr/screensaver.h index 38d7639c05..98edae97d5 100644 --- a/clientscr/screensaver.h +++ b/clientscr/screensaver.h @@ -25,11 +25,11 @@ extern bool is_same_task(RESULT* taska, RESULT* taskb); // 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 // 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 #ifdef _WIN32