]> git.decadent.org.uk Git - ion3.git/blob - ioncore/property.h
Update cfg_kludge_flash for Flash 10
[ion3.git] / ioncore / property.h
1 /*
2  * ion/ioncore/property.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2009. 
5  *
6  * See the included file LICENSE for details.
7  */
8
9 #ifndef ION_IONCORE_PROPERTY_H
10 #define ION_IONCORE_PROPERTY_H
11
12 #include <X11/Xatom.h>
13
14 #include "common.h"
15
16 extern ulong xwindow_get_property(Window win, Atom atom, Atom type,
17                                   ulong n32expected, bool more, uchar **p);
18 extern char *xwindow_get_string_property(Window win, Atom a, int *nret);
19 extern void xwindow_set_string_property(Window win, Atom a, const char *value);
20 extern bool xwindow_get_integer_property(Window win, Atom a, int *vret);
21 extern void xwindow_set_integer_property(Window win, Atom a, int value);
22 extern bool xwindow_get_state_property(Window win, int *state);
23 extern void xwindow_set_state_property(Window win, int state);
24 extern char **xwindow_get_text_property(Window win, Atom a, int *nret);
25 extern void xwindow_set_text_property(Window win, Atom a, 
26                                       const char **p, int n);
27
28 #endif /* ION_IONCORE_PROPERTY_H */
29