#ifndef AS_MYSTYLE_PROPERTY_H
#define AS_MYSTYLE_PROPERTY_H

#ifdef __cplusplus
extern "C" {
#endif

/*
 * For the MyStyle server (AfterStep):
 * 1. call mystyle_set_property() with the root window, atom name
 *    "_AS_STYLE", and atom type XA_INTEGER
 *
 * For MyStyle clients (modules):
 * 1. call mystyle_get_property() with the root window, atom name
 *    "_AS_STYLE", and atom type XA_INTEGER
 * 2. read in any local MyStyle definitions
 * 3. watch for PropertyNotify on the root window
 * 3a. when a PropertyNotify is seen, call mystyle_get_property() as above
 * 3b. update app look as necessary
 *
 * Notes:
 *  o mystyle_get_property() calls mystyle_fix_styles()
 */


struct ASWMProps;

void mystyle_list_set_property (struct ASWMProps *wmprops, ASHashTable *list );
void mystyle_set_property (struct ASWMProps *wmprops);
void mystyle_get_property (struct ASWMProps *wmprops);

#ifdef __cplusplus
}
#endif


#endif /* AS_MYSTYLE_PROPERTY_H */
