From http://www.jwz.org/xscreensaver/xscreensaver-5.31.tar.gz
[xscreensaver] / hacks / recanim.h
1 /* recanim, Copyright (c) 2014 Jamie Zawinski <jwz@jwz.org>
2  * Record animation frames of the running screenhack.
3  *
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 
10  * implied warranty.
11  */
12
13 #ifndef __XSCREENSAVER_RECORD_ANIM_H__
14 # define __XSCREENSAVER_RECORD_ANIM_H__
15
16 #ifdef HAVE_CONFIG_H
17 # include "config.h"
18 #endif /* HAVE_CONFIG_H */
19
20 typedef struct record_anim_state record_anim_state;
21
22 extern record_anim_state *screenhack_record_anim_init (Screen *, Window,
23                                                        int frames);
24 extern void screenhack_record_anim (record_anim_state *);
25 extern void screenhack_record_anim_free (record_anim_state *);
26
27 #endif /* __XSCREENSAVER_RECORD_ANIM_H__ */