Blame src/goaidentity/goaidentityservice.h

Packit Service c6b9b0
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
Packit Service c6b9b0
 *
Packit Service c6b9b0
 * Copyright © 2012 – 2017 Red Hat, Inc.
Packit Service c6b9b0
 *
Packit Service c6b9b0
 * This library is free software; you can redistribute it and/or
Packit Service c6b9b0
 * modify it under the terms of the GNU Lesser General Public
Packit Service c6b9b0
 * License as published by the Free Software Foundation; either
Packit Service c6b9b0
 * version 2 of the License, or (at your option) any later version.
Packit Service c6b9b0
 *
Packit Service c6b9b0
 * This library is distributed in the hope that it will be useful,
Packit Service c6b9b0
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service c6b9b0
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service c6b9b0
 * Lesser General Public License for more details.
Packit Service c6b9b0
 *
Packit Service c6b9b0
 * You should have received a copy of the GNU Lesser General
Packit Service c6b9b0
 * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
Packit Service c6b9b0
 */
Packit Service c6b9b0
Packit Service c6b9b0
#ifndef __GOA_IDENTITY_SERVICE_H__
Packit Service c6b9b0
#define __GOA_IDENTITY_SERVICE_H__
Packit Service c6b9b0
Packit Service c6b9b0
#include <glib.h>
Packit Service c6b9b0
#include <glib-object.h>
Packit Service c6b9b0
#include <gio/gio.h>
Packit Service c6b9b0
Packit Service c6b9b0
#include "org.gnome.Identity.h"
Packit Service c6b9b0
Packit Service c6b9b0
G_BEGIN_DECLS
Packit Service c6b9b0
#define GOA_TYPE_IDENTITY_SERVICE           (goa_identity_service_get_type ())
Packit Service c6b9b0
#define GOA_IDENTITY_SERVICE(obj)           (G_TYPE_CHECK_INSTANCE_CAST (obj, GOA_TYPE_IDENTITY_SERVICE, GoaIdentityService))
Packit Service c6b9b0
#define GOA_IDENTITY_SERVICE_CLASS(cls)     (G_TYPE_CHECK_CLASS_CAST (cls, GOA_TYPE_IDENTITY_SERVICE, GoaIdentityServiceClass))
Packit Service c6b9b0
#define GOA_IS_IDENTITY_SERVICE(obj)        (G_TYPE_CHECK_INSTANCE_TYPE (obj, GOA_TYPE_IDENTITY_SERVICE))
Packit Service c6b9b0
#define GOA_IS_IDENTITY_SERVICE_CLASS(obj)  (G_TYPE_CHECK_CLASS_TYPE (obj, GOA_TYPE_IDENTITY_SERVICE))
Packit Service c6b9b0
#define GOA_IDENTITY_SERVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GOA_TYPE_IDENTITY_SERVICE, GoaIdentityServiceClass))
Packit Service c6b9b0
typedef struct _GoaIdentityService GoaIdentityService;
Packit Service c6b9b0
typedef struct _GoaIdentityServiceClass GoaIdentityServiceClass;
Packit Service c6b9b0
typedef struct _GoaIdentityServicePrivate GoaIdentityServicePrivate;
Packit Service c6b9b0
Packit Service c6b9b0
struct _GoaIdentityService
Packit Service c6b9b0
{
Packit Service c6b9b0
  GoaIdentityServiceManagerSkeleton  parent_instance;
Packit Service c6b9b0
  GoaIdentityServicePrivate         *priv;
Packit Service c6b9b0
};
Packit Service c6b9b0
Packit Service c6b9b0
struct _GoaIdentityServiceClass
Packit Service c6b9b0
{
Packit Service c6b9b0
  GoaIdentityServiceManagerSkeletonClass  parent_class;
Packit Service c6b9b0
};
Packit Service c6b9b0
Packit Service c6b9b0
GType goa_identity_service_get_type (void);
Packit Service c6b9b0
GoaIdentityService *goa_identity_service_new (void);
Packit Service c6b9b0
gboolean goa_identity_service_activate   (GoaIdentityService  *service,
Packit Service c6b9b0
                                          GError             **error);
Packit Service c6b9b0
void     goa_identity_service_deactivate (GoaIdentityService  *service);
Packit Service c6b9b0
Packit Service c6b9b0
G_END_DECLS
Packit Service c6b9b0
#endif /* __GOA_IDENTITY_SERVICE_H__ */