2 * ion/mod_sm/sm_mathcwin.c
4 * Copyright (c) Tuomo Valkonen 2004-2009.
6 * Based on the code of the 'sm' module for Ion1 by an unknown contributor.
8 * This is free software; you can redistribute it and/or modify it under
9 * the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation; either version 2.1 of the License, or
11 * (at your option) any later version.
14 #ifndef ION_MOD_SM_MATCHWIN_H
15 #define ION_MOD_SM_MATCHWIN_H
17 #include <libtu/obj.h>
18 #include <ioncore/common.h>
19 #include <ioncore/pholder.h>
21 INTRSTRUCT(WWinMatch
);
23 DECLSTRUCT(WWinMatch
){
33 WWinMatch
*next
, *prev
;
36 extern WPHolder
*mod_sm_match_cwin_to_saved(WClientWin
*cwin
);
37 extern void mod_sm_register_win_match(WWinMatch
*match
);
38 extern char *mod_sm_get_window_cmd(Window window
);
39 extern char *mod_sm_get_client_id(Window window
);
40 extern char *mod_sm_get_window_role(Window window
);
41 extern bool mod_sm_have_match_list();
42 extern void mod_sm_start_purge_timer();
44 extern bool mod_sm_add_match(WPHolder
*ph
, ExtlTab tab
);
45 extern void mod_sm_get_configuration(WClientWin
*cwin
, ExtlTab tab
);
47 #endif /* ION_MOD_SM_MATCHWIN_H */