Blame src/goabackend/goaobjectskeletonutils.h

Packit 79f644
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
Packit 79f644
/*
Packit 79f644
 * Copyright © 2012 – 2017 Red Hat, Inc.
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
#if !defined (__GOA_BACKEND_INSIDE_GOA_BACKEND_H__) && !defined (GOA_BACKEND_COMPILATION)
Packit 79f644
#error "Only <goabackend/goabackend.h> can be included directly."
Packit 79f644
#endif
Packit 79f644
Packit 79f644
#ifndef __GOA_OBJECT_SKELETON_UTILS_H__
Packit 79f644
#define __GOA_OBJECT_SKELETON_UTILS_H__
Packit 79f644
Packit 79f644
#include <glib.h>
Packit 79f644
#include <goa/goa.h>
Packit 79f644
Packit 79f644
G_BEGIN_DECLS
Packit 79f644
Packit 79f644
void             goa_object_skeleton_attach_calendar       (GoaObjectSkeleton *object,
Packit 79f644
                                                            const gchar       *uri,
Packit 79f644
                                                            gboolean           calendar_enabled,
Packit 79f644
                                                            gboolean           accept_ssl_errors);
Packit 79f644
Packit 79f644
void             goa_object_skeleton_attach_chat           (GoaObjectSkeleton *object,
Packit 79f644
                                                            gboolean           chat_enabled);
Packit 79f644
Packit 79f644
void             goa_object_skeleton_attach_contacts       (GoaObjectSkeleton *object,
Packit 79f644
                                                            const gchar       *uri,
Packit 79f644
                                                            gboolean           contacts_enabled,
Packit 79f644
                                                            gboolean           accept_ssl_errors);
Packit 79f644
Packit 79f644
void             goa_object_skeleton_attach_documents      (GoaObjectSkeleton *object,
Packit 79f644
                                                            gboolean           documents_enabled);
Packit 79f644
Packit 79f644
void             goa_object_skeleton_attach_files          (GoaObjectSkeleton *object,
Packit 79f644
                                                            const gchar       *uri,
Packit 79f644
                                                            gboolean           files_enabled,
Packit 79f644
                                                            gboolean           accept_ssl_errors);
Packit 79f644
Packit 79f644
void             goa_object_skeleton_attach_maps           (GoaObjectSkeleton *object,
Packit 79f644
                                                            gboolean           maps_enabled);
Packit 79f644
Packit 79f644
void             goa_object_skeleton_attach_photos         (GoaObjectSkeleton *object,
Packit 79f644
                                                            gboolean           photos_enabled);
Packit 79f644
Packit 79f644
void             goa_object_skeleton_attach_printers       (GoaObjectSkeleton *object,
Packit 79f644
                                                            gboolean           printers_enabled);
Packit 79f644
Packit 79f644
void             goa_object_skeleton_attach_todo           (GoaObjectSkeleton *object,
Packit 79f644
                                                            gboolean           todo_enabled);
Packit 79f644
Packit 79f644
void             goa_object_skeleton_attach_read_later     (GoaObjectSkeleton *object,
Packit 79f644
                                                            gboolean           read_later_enabled);
Packit 79f644
Packit 79f644
G_END_DECLS
Packit 79f644
Packit 79f644
#endif /* __GOA_OBJECT_SKELETON_UTILS_H__ */