1 #ifndef __ob__session_h
2 #define __ob__session_h
8 typedef struct _ObSessionState ObSessionState;
10 struct _ObSessionState {
11 gchar *id, *name, *class, *role;
15 gboolean shaded, iconic, skip_pager, skip_taskbar, fullscreen;
16 gboolean above, below, max_horz, max_vert;
21 extern GList *session_saved_state;
23 void session_load(char *path);
24 void session_startup(int argc, char **argv);
25 void session_shutdown();
27 GList* session_state_find(struct _ObClient *c);
28 gboolean session_state_cmp(ObSessionState *s, struct _ObClient *c);
29 void session_state_free(ObSessionState *state);