#ifndef GROUP_H #define GROUP_H void init_groups (); void free_groups(); void group_add_window (rp_group *g, rp_window *w); void group_resort_window (rp_group *g, rp_window_elem *w); void group_free (rp_group *g); rp_group *group_new (int number, char *name); int group_delete_group (rp_group *g); void group_del_window (rp_group *g, rp_window *win); void groups_del_window (rp_window *win); void group_map_window (rp_group *g, rp_window *win); void groups_map_window (rp_window *win); void group_unmap_window (rp_group *g, rp_window *win); void groups_unmap_window (rp_window *win); rp_window *group_prev_window (rp_group *g, rp_window *win); rp_window *group_next_window (rp_group *g, rp_window *win); rp_group *groups_find_group_by_name (char *s); rp_group *groups_find_group_by_number (int n); rp_window *group_last_window (rp_group *g, rp_screen *screen); rp_group *group_prev_group (); rp_group *group_next_group (); rp_group *group_add_new_group (char *name); rp_window_elem *group_find_window (struct list_head *list, rp_window *win); rp_window_elem *group_find_window_by_number (rp_group *g, int num); void group_move_window (rp_group *to, rp_window *win); void groups_merge (rp_group *from, rp_group *to); void set_current_group (rp_group *g); rp_window *group_last_window_by_class (rp_group *g, char *class); rp_window *group_last_window_by_class_complement (rp_group *g, char *class); #endif