X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utils%2Fgrabscreen.h;h=40054c8f08e7cc82c9b47f2fbcbe627c15d33dc3;hb=c85f503f5793839a6be4c818332aca4a96927bb2;hp=97c46a77ca309b216df0fbb0f9f1880c9e7d4760;hpb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;p=xscreensaver diff --git a/utils/grabscreen.h b/utils/grabscreen.h index 97c46a77..40054c8f 100644 --- a/utils/grabscreen.h +++ b/utils/grabscreen.h @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992-2012 Jamie Zawinski +/* xscreensaver, Copyright (c) 1992-2014 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 @@ -84,12 +84,26 @@ extern void grab_screen_image_internal (Screen *, Window); /* For debugging: turn on verbosity. */ extern void grabscreen_verbose (void); -#ifdef HAVE_COCOA +#ifdef HAVE_JWXYZ /* Don't use these: internal interface of grabclient.c. */ 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 */ +#endif /* HAVE_JWXYZ */ + +#ifdef USE_IPHONE +extern void ios_load_random_image (void (*callback) (void *uiimage, + const char *filename, + int w, int h, + void *closure), + void *closure, + int width, int height); +#endif /* USE_IPHONE */ + +#ifdef HAVE_ANDROID +char *jwxyz_draw_random_image (Display *dpy, /* utils/grabclient.c */ + Drawable drawable, GC gc); +#endif #endif /* __GRABSCREEN_H__ */