1 /* -*-c-*- */
2 
3 #ifndef DECORATIONS_H
4 #define DECORATIONS_H
5 
6 /* ---------------------------- included header files ---------------------- */
7 
8 /* ---------------------------- global definitions ------------------------- */
9 
10 /* ---------------------------- global macros ------------------------------ */
11 
12 /* ---------------------------- type definitions --------------------------- */
13 
14 typedef enum
15 {
16 	RQORIG_PROGRAM = False,
17 	RQORIG_PROGRAM_US = True,
18 	RQORIG_MODULE_INPUT,
19 	RQORIG_FVWM_USER,
20 } request_origin_t;
21 
22 /* ---------------------------- forward declarations ----------------------- */
23 
24 /* ---------------------------- exported variables (globals) --------------- */
25 
26 /* ---------------------------- interface functions ------------------------ */
27 
28 void GetMwmHints(FvwmWindow *t);
29 void GetOlHints(FvwmWindow *t);
30 void SelectDecor(FvwmWindow *t, window_style *pstyle, short *buttons);
31 Bool is_function_allowed(
32 	int function, char *action_string, const FvwmWindow *t,
33 	request_origin_t request_origin, Bool do_allow_override_mwm_hints);
34 
35 #endif /* DECORATIONS_H */
36