1
/* eggsmclient-private.h
2
* Copyright (C) 2007 Novell, Inc.
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
* Boston, MA 02111-1307, USA.
20
#ifndef __EGG_SM_CLIENT_PRIVATE_H__
21
#define __EGG_SM_CLIENT_PRIVATE_H__
23
#include <gdkconfig.h>
24
#include "eggsmclient.h"
26
G_BEGIN_DECLS GKeyFile * egg_sm_client_save_state (EggSMClient * client);
27
void egg_sm_client_quit_requested (EggSMClient * client);
28
void egg_sm_client_quit_cancelled (EggSMClient * client);
29
void egg_sm_client_quit (EggSMClient * client);
31
#if defined (GDK_WINDOWING_X11)
32
# ifdef EGG_SM_CLIENT_BACKEND_XSMP
33
GType egg_sm_client_xsmp_get_type (void);
34
EggSMClient *egg_sm_client_xsmp_new (void);
36
# ifdef EGG_SM_CLIENT_BACKEND_DBUS
37
GType egg_sm_client_dbus_get_type (void);
38
EggSMClient *egg_sm_client_dbus_new (void);
40
#elif defined (GDK_WINDOWING_WIN32)
41
GType egg_sm_client_win32_get_type (void);
42
EggSMClient *egg_sm_client_win32_new (void);
43
#elif defined (GDK_WINDOWING_QUARTZ)
44
GType egg_sm_client_osx_get_type (void);
45
EggSMClient *egg_sm_client_osx_new (void);
49
#endif /* __EGG_SM_CLIENT_PRIVATE_H__ */