NAImporterAsk: fix z-order
[nautilus-actions.git] / src / nact / egg-sm-client-private.h
blobb28361c63878f8d70bdeefd0a2433c6e3da2ae73
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 <gtk/gtk.h>
25 /* patch provided by Mathias Clasen
26 * see http://git.gnome.org/browse/libegg/commit/?id=0be81fa47fb5dabba2be40888ed5d4b16f0ae6a3
28 #if !GTK_CHECK_VERSION( 2, 91, 7 )
29 /* GTK+ 3 includes this automatically */
30 #include <gdkconfig.h>
31 #endif
33 #include "egg-sm-client.h"
35 G_BEGIN_DECLS
37 GKeyFile *egg_sm_client_save_state (EggSMClient *client);
38 void egg_sm_client_quit_requested (EggSMClient *client);
39 void egg_sm_client_quit_cancelled (EggSMClient *client);
40 void egg_sm_client_quit (EggSMClient *client);
42 #if defined (GDK_WINDOWING_X11)
43 # ifdef EGG_SM_CLIENT_BACKEND_XSMP
44 GType egg_sm_client_xsmp_get_type (void);
45 EggSMClient *egg_sm_client_xsmp_new (void);
46 # endif
47 # ifdef EGG_SM_CLIENT_BACKEND_DBUS
48 GType egg_sm_client_dbus_get_type (void);
49 EggSMClient *egg_sm_client_dbus_new (void);
50 # endif
51 #elif defined (GDK_WINDOWING_WIN32)
52 GType egg_sm_client_win32_get_type (void);
53 EggSMClient *egg_sm_client_win32_new (void);
54 #elif defined (GDK_WINDOWING_QUARTZ)
55 GType egg_sm_client_osx_get_type (void);
56 EggSMClient *egg_sm_client_osx_new (void);
57 #endif
59 G_END_DECLS
62 #endif /* __EGG_SM_CLIENT_PRIVATE_H__ */