Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:59:54

0001 /*
0002  * Copyright © 2010 Codethink Limited
0003  * Copyright © 2011 Canonical Limited
0004  *
0005  * SPDX-License-Identifier: LGPL-2.1-or-later
0006  *
0007  * This library is free software; you can redistribute it and/or
0008  * modify it under the terms of the GNU Lesser General Public
0009  * License as published by the Free Software Foundation; either
0010  * version 2.1 of the License, or (at your option) any later version.
0011  *
0012  * This library is distributed in the hope that it will be useful,
0013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0015  * Lesser General Public License for more details.
0016  *
0017  * You should have received a copy of the GNU Lesser General
0018  * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
0019  *
0020  * Authors: Ryan Lortie <desrt@desrt.ca>
0021  */
0022 
0023 
0024 #ifndef __G_ACTION_GROUP_EXPORTER_H__
0025 #define __G_ACTION_GROUP_EXPORTER_H__
0026 
0027 #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
0028 #error "Only <gio/gio.h> can be included directly."
0029 #endif
0030 
0031 #include <gio/giotypes.h>
0032 
0033 G_BEGIN_DECLS
0034 
0035 GIO_AVAILABLE_IN_2_32
0036 guint                   g_dbus_connection_export_action_group           (GDBusConnection  *connection,
0037                                                                          const gchar      *object_path,
0038                                                                          GActionGroup     *action_group,
0039                                                                          GError          **error);
0040 
0041 GIO_AVAILABLE_IN_2_32
0042 void                    g_dbus_connection_unexport_action_group         (GDBusConnection  *connection,
0043                                                                          guint             export_id);
0044 
0045 G_END_DECLS
0046 
0047 #endif /* __G_ACTION_GROUP_EXPORTER_H__ */