Blame gio/gsimplepermission.h

Packit Service d3d246
/*
Packit Service d3d246
 * Copyright © 2010 Codethink Limited
Packit Service d3d246
 *
Packit Service d3d246
 * This library is free software; you can redistribute it and/or
Packit Service d3d246
 * modify it under the terms of the GNU Lesser General Public
Packit Service d3d246
 * License as published by the Free Software Foundation; either
Packit Service d3d246
 * version 2.1 of the License, or (at your option) any later version.
Packit Service d3d246
 *
Packit Service d3d246
 * This library is distributed in the hope that it will be useful,
Packit Service d3d246
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service d3d246
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service d3d246
 * Lesser General Public License for more details.
Packit Service d3d246
 *
Packit Service d3d246
 * You should have received a copy of the GNU Lesser General Public
Packit Service d3d246
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
Packit Service d3d246
 *
Packit Service d3d246
 * Author: Ryan Lortie <desrt@desrt.ca>
Packit Service d3d246
 */
Packit Service d3d246
Packit Service d3d246
#ifndef __G_SIMPLE_PERMISSION_H__
Packit Service d3d246
#define __G_SIMPLE_PERMISSION_H__
Packit Service d3d246
Packit Service d3d246
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
Packit Service d3d246
#error "Only <gio/gio.h> can be included directly."
Packit Service d3d246
#endif
Packit Service d3d246
Packit Service d3d246
#include <gio/giotypes.h>
Packit Service d3d246
Packit Service d3d246
G_BEGIN_DECLS
Packit Service d3d246
Packit Service d3d246
#define G_TYPE_SIMPLE_PERMISSION      (g_simple_permission_get_type ())
Packit Service d3d246
#define G_SIMPLE_PERMISSION(inst)     (G_TYPE_CHECK_INSTANCE_CAST ((inst),   \
Packit Service d3d246
                                       G_TYPE_SIMPLE_PERMISSION,             \
Packit Service d3d246
                                       GSimplePermission))
Packit Service d3d246
#define G_IS_SIMPLE_PERMISSION(inst)  (G_TYPE_CHECK_INSTANCE_TYPE ((inst),   \
Packit Service d3d246
                                       G_TYPE_SIMPLE_PERMISSION))
Packit Service d3d246
Packit Service d3d246
GLIB_AVAILABLE_IN_ALL
Packit Service d3d246
GType                   g_simple_permission_get_type            (void);
Packit Service d3d246
GLIB_AVAILABLE_IN_ALL
Packit Service d3d246
GPermission *           g_simple_permission_new                 (gboolean allowed);
Packit Service d3d246
Packit Service d3d246
G_END_DECLS
Packit Service d3d246
Packit Service d3d246
#endif /* __G_SIMPLE_PERMISSION_H__ */