~ubuntu-branches/ubuntu/oneiric/gnome-panel/oneiric

« back to all changes in this revision

Viewing changes to gnome-panel/libegg/eggsmclient-private.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-01-14 22:20:05 UTC
  • mto: (2.1.6 squeeze) (1.3.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 171.
  • Revision ID: james.westby@ubuntu.com-20100114222005-rll7tw9fojl3ac6z
Tags: upstream-2.29.5.1
ImportĀ upstreamĀ versionĀ 2.29.5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* eggsmclient-private.h
 
2
 * Copyright (C) 2007 Novell, Inc.
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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.
 
18
 */
 
19
 
 
20
#ifndef __EGG_SM_CLIENT_PRIVATE_H__
 
21
#define __EGG_SM_CLIENT_PRIVATE_H__
 
22
 
 
23
#include <gdkconfig.h>
 
24
#include "eggsmclient.h"
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
GKeyFile *egg_sm_client_save_state     (EggSMClient *client);
 
29
void      egg_sm_client_quit_requested (EggSMClient *client);
 
30
void      egg_sm_client_quit_cancelled (EggSMClient *client);
 
31
void      egg_sm_client_quit           (EggSMClient *client);
 
32
 
 
33
#if defined (GDK_WINDOWING_X11)
 
34
# ifdef EGG_SM_CLIENT_BACKEND_XSMP
 
35
GType        egg_sm_client_xsmp_get_type (void);
 
36
EggSMClient *egg_sm_client_xsmp_new      (void);
 
37
# endif
 
38
# ifdef EGG_SM_CLIENT_BACKEND_DBUS
 
39
GType        egg_sm_client_dbus_get_type (void);
 
40
EggSMClient *egg_sm_client_dbus_new      (void);
 
41
# endif
 
42
#elif defined (GDK_WINDOWING_WIN32)
 
43
GType        egg_sm_client_win32_get_type (void);
 
44
EggSMClient *egg_sm_client_win32_new      (void);
 
45
#elif defined (GDK_WINDOWING_QUARTZ)
 
46
GType        egg_sm_client_osx_get_type (void);
 
47
EggSMClient *egg_sm_client_osx_new      (void);
 
48
#endif
 
49
 
 
50
G_END_DECLS
 
51
 
 
52
 
 
53
#endif /* __EGG_SM_CLIENT_PRIVATE_H__ */