X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utils%2Fgrabscreen.h;h=65e53412d428cc34f8405b1c006d82338dce5e62;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hp=2f680e0fc5214b0b1d2ec0ab85d362097330d920;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/utils/grabscreen.h b/utils/grabscreen.h index 2f680e0f..65e53412 100644 --- a/utils/grabscreen.h +++ b/utils/grabscreen.h @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992-2006 Jamie Zawinski +/* xscreensaver, Copyright (c) 1992-2012 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -86,9 +86,17 @@ extern void grabscreen_verbose (void); #ifdef HAVE_COCOA /* Don't use these: internal interface of grabclient.c. */ -extern void osx_grab_desktop_image (Screen *, Window, Drawable); +extern Bool osx_grab_desktop_image (Screen *, Window, Drawable, + XRectangle *geom_ret); extern Bool osx_load_image_file (Screen *, Window, Drawable, const char *filename, XRectangle *geom_ret); #endif /* HAVE_COCOA */ +#ifdef USE_IPHONE +extern void ios_load_random_image (void (*callback) (void *uiimage, + const char *filename, + void *closure), + void *closure); +#endif /* USE_IPHONE */ + #endif /* __GRABSCREEN_H__ */