blob: 0cfe94135715d69c4589ac0015ff2ddbc3229b71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
/* eggsmclient-private.h
* Copyright (C) 2007 Novell, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __EGG_SM_CLIENT_PRIVATE_H__
#define __EGG_SM_CLIENT_PRIVATE_H__
#include <gtk/gtk.h>
#include "eggsmclient.h"
#ifdef __cplusplus
extern "C" {
#endif
GKeyFile* egg_sm_client_save_state(EggSMClient* client);
void egg_sm_client_quit_requested(EggSMClient* client);
void egg_sm_client_quit_cancelled(EggSMClient* client);
void egg_sm_client_quit(EggSMClient* client);
#if defined (GDK_WINDOWING_X11)
#ifdef EGG_SM_CLIENT_BACKEND_XSMP
GType egg_sm_client_xsmp_get_type(void);
EggSMClient* egg_sm_client_xsmp_new(void);
#endif
#ifdef EGG_SM_CLIENT_BACKEND_DBUS
GType egg_sm_client_dbus_get_type(void);
EggSMClient* egg_sm_client_dbus_new(void);
#endif
#elif defined (GDK_WINDOWING_WIN32)
GType egg_sm_client_win32_get_type(void);
EggSMClient* egg_sm_client_win32_new(void);
#elif defined (GDK_WINDOWING_QUARTZ)
GType egg_sm_client_osx_get_type(void);
EggSMClient* egg_sm_client_osx_new(void);
#endif
#ifdef __cplusplus
}
#endif
#endif /* __EGG_SM_CLIENT_PRIVATE_H__ */
|