|
Packit |
79f644 |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
Packit |
79f644 |
/*
|
|
Packit |
79f644 |
* Copyright © 2010 – 2013 Collabora Ltd.
|
|
Packit |
79f644 |
* Copyright © 2013 Intel Corporation
|
|
Packit |
79f644 |
*
|
|
Packit |
79f644 |
* This library is free software; you can redistribute it and/or
|
|
Packit |
79f644 |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit |
79f644 |
* License as published by the Free Software Foundation; either
|
|
Packit |
79f644 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit |
79f644 |
*
|
|
Packit |
79f644 |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
79f644 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
79f644 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
79f644 |
* Lesser General Public License for more details.
|
|
Packit |
79f644 |
*
|
|
Packit |
79f644 |
* You should have received a copy of the GNU Lesser General
|
|
Packit |
79f644 |
* Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
79f644 |
*/
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
#ifndef __GOA_TP_ACCOUNT_LINKER_H__
|
|
Packit |
79f644 |
#define __GOA_TP_ACCOUNT_LINKER_H__
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
#include <glib-object.h>
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
#include "goa/goa.h"
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
G_BEGIN_DECLS
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
#define GOA_TYPE_TP_ACCOUNT_LINKER (goa_tp_account_linker_get_type ())
|
|
Packit |
79f644 |
#define GOA_TP_ACCOUNT_LINKER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOA_TYPE_TP_ACCOUNT_LINKER, GoaTpAccountLinker))
|
|
Packit |
79f644 |
#define GOA_TP_ACCOUNT_LINKER_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GOA_TYPE_TP_ACCOUNT_LINKER, GoaTpAccountLinkerClass))
|
|
Packit |
79f644 |
#define GOA_IS_TP_ACCOUNT_LINKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GOA_TYPE_TP_ACCOUNT_LINKER))
|
|
Packit |
79f644 |
#define GOA_IS_TP_ACCOUNT_LINKER_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), GOA_TYPE_TP_ACCOUNT_LINKER))
|
|
Packit |
79f644 |
#define GOA_TP_ACCOUNT_LINKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GOA_TYPE_TP_ACCOUNT_LINKER, GoaTpAccountLinkerClass))
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
typedef struct _GoaTpAccountLinker GoaTpAccountLinker;
|
|
Packit |
79f644 |
typedef struct _GoaTpAccountLinkerClass GoaTpAccountLinkerClass;
|
|
Packit |
79f644 |
typedef struct _GoaTpAccountLinkerPrivate GoaTpAccountLinkerPrivate;
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
struct _GoaTpAccountLinker
|
|
Packit |
79f644 |
{
|
|
Packit |
79f644 |
GObject parent_instance;
|
|
Packit |
79f644 |
GoaTpAccountLinkerPrivate *priv;
|
|
Packit |
79f644 |
};
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
struct _GoaTpAccountLinkerClass
|
|
Packit |
79f644 |
{
|
|
Packit |
79f644 |
GObjectClass parent_class;
|
|
Packit |
79f644 |
};
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
GType goa_tp_account_linker_get_type (void) G_GNUC_CONST;
|
|
Packit |
79f644 |
GoaTpAccountLinker *goa_tp_account_linker_new (void);
|
|
Packit |
79f644 |
void goa_tp_account_linker_remove_tp_account (GoaTpAccountLinker *self,
|
|
Packit |
79f644 |
GoaObject *object,
|
|
Packit |
79f644 |
GCancellable *cancellable,
|
|
Packit |
79f644 |
GAsyncReadyCallback callback,
|
|
Packit |
79f644 |
gpointer user_data);
|
|
Packit |
79f644 |
gboolean goa_tp_account_linker_remove_tp_account_finish (GoaTpAccountLinker *self,
|
|
Packit |
79f644 |
GAsyncResult *res,
|
|
Packit |
79f644 |
GError **error);
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
G_END_DECLS
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
#endif
|