diff options
author | Olivier Fourdan <fourdan.olivier@wanadoo.fr> | 2003-02-06 16:22:50 +0000 |
---|---|---|
committer | Olivier Fourdan <fourdan.olivier@wanadoo.fr> | 2003-02-06 16:22:50 +0000 |
commit | 18cf73cdf923950edb86d9cdc8c12e22a6e0625a (patch) | |
tree | e25e257ccd166af1e1c1ec33849c95d07027a684 /src/session.h | |
parent | 8d84880da1a3af2fcb4df545afbef18e1a13730e (diff) | |
download | xfwm4-18cf73cdf923950edb86d9cdc8c12e22a6e0625a.tar.gz |
Add missing bits for full session management
(Old svn revision: 10902)
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h new file mode 100644 index 000000000..77b834771 --- /dev/null +++ b/src/session.h @@ -0,0 +1,46 @@ +/* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + xfwm4 - (c) 2003 Olivier Fourdan + + */ + +#ifndef __SESSION_H__ +#define __SESSION_H__ + +#include <glib.h> +#include "client.h" + +/* +** Save window states to file which name is given in argument. +*/ +gboolean sessionSaveWindowStates(gchar *); + +/* +** Load window states to file which name is given in argument. +*/ +gboolean sessionLoadWindowStates(gchar *); + +/* +** Free allocated structure. Should be called before xfwm4 dies +*/ +void sessionFreeWindowStates(void); + +/* +** Search for existing client in saved session and update +** relevant client fields if found. +*/ +gboolean sessionMatchWinToSM(Client *); + +#endif /* __CLIENT_H__ */ |