summaryrefslogtreecommitdiff
path: root/gsearchtool/libeggsmclient/eggsmclient-private.h
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-09-09 12:09:52 +0300
committermonsta <[email protected]>2015-09-09 12:09:52 +0300
commit0d36d61761a1d68839d61f521889dba3db7f514f (patch)
treedcf4188d0a02bdf227fa1abf6d0aedb8218075d8 /gsearchtool/libeggsmclient/eggsmclient-private.h
parentf95463c41d467b5cd5c1c1d94c1734a8fe1b009d (diff)
downloadmate-utils-0d36d61761a1d68839d61f521889dba3db7f514f.tar.bz2
mate-utils-0d36d61761a1d68839d61f521889dba3db7f514f.tar.xz
gsearchtool: move smclient stuff there, move sources to src/ subdir
Diffstat (limited to 'gsearchtool/libeggsmclient/eggsmclient-private.h')
-rw-r--r--gsearchtool/libeggsmclient/eggsmclient-private.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/gsearchtool/libeggsmclient/eggsmclient-private.h b/gsearchtool/libeggsmclient/eggsmclient-private.h
new file mode 100644
index 00000000..d13035bf
--- /dev/null
+++ b/gsearchtool/libeggsmclient/eggsmclient-private.h
@@ -0,0 +1,56 @@
+/* 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>
+#if !GTK_CHECK_VERSION (3, 0, 0)
+#include <gdkconfig.h>
+#endif
+#include "eggsmclient.h"
+
+G_BEGIN_DECLS
+
+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
+
+G_END_DECLS
+
+
+#endif /* __EGG_SM_CLIENT_PRIVATE_H__ */