1 /* recanim, Copyright (c) 2014-2018 Jamie Zawinski <jwz@jwz.org>
2 * Record animation frames of the running screenhack.
4 * Permission to use, copy, modify, distribute, and sell this software and its
5 * documentation for any purpose is hereby granted without fee, provided that
6 * the above copyright notice appear in all copies and that both that
7 * copyright notice and this permission notice appear in supporting
8 * documentation. No representations are made about the suitability of this
9 * software for any purpose. It is provided "as is" without express or
13 #ifndef __XSCREENSAVER_RECORD_ANIM_H__
14 # define __XSCREENSAVER_RECORD_ANIM_H__
18 #endif /* HAVE_CONFIG_H */
20 typedef struct record_anim_state record_anim_state;
22 extern record_anim_state *screenhack_record_anim_init (Screen *, Window,
24 extern void screenhack_record_anim (record_anim_state *);
25 extern void screenhack_record_anim_free (record_anim_state *);
27 extern time_t screenhack_record_anim_time (time_t *);
28 extern void screenhack_record_anim_gettimeofday (struct timeval *
29 # ifdef GETTIMEOFDAY_TWO_ARGS
33 #define time screenhack_record_anim_time
34 #define gettimeofday screenhack_record_anim_gettimeofday
36 #endif /* __XSCREENSAVER_RECORD_ANIM_H__ */