/usr/include/goa-1.0/goabackend/goabackendenums.h is in libgoa-backend-1.0-dev 3.10.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/*
* Copyright (C) 2011, 2012 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*
* Authors: David Zeuthen <davidz@redhat.com>
* Debarshi Ray <debarshir@gnome.org>
*/
#if !defined (__GOA_BACKEND_INSIDE_GOA_BACKEND_H__) && !defined (GOA_BACKEND_COMPILATION)
#error "Only <goabackend/goabackend.h> can be included directly."
#endif
#ifndef __GOA_BACKEND_ENUMS_H__
#define __GOA_BACKEND_ENUMS_H__
#include <gio/gio.h>
G_BEGIN_DECLS
/**
* GoaProviderGroup:
* @GOA_PROVIDER_GROUP_BRANDED: Providers with a well-known brand. For
* example, Google and Facebook.
* @GOA_PROVIDER_GROUP_CONTACTS: Providers that offer address book services.
* For example, CardDAV.
* @GOA_PROVIDER_GROUP_MAIL: Providers that offer email-like messaging
* services. For example, IMAP and SMTP.
* @GOA_PROVIDER_GROUP_TICKETING: Providers with ticketing
* capabilities. For example, Kerberos.
* @GOA_PROVIDER_GROUP_INVALID: Used for error handling. No provider
* should belong to this group.
*
* An enum for specifying which group a provider belongs to. This is
* can be used to organize the providers while displaying them in an
* user interface.
*/
typedef enum
{
GOA_PROVIDER_GROUP_BRANDED,
GOA_PROVIDER_GROUP_CONTACTS,
GOA_PROVIDER_GROUP_MAIL,
GOA_PROVIDER_GROUP_TICKETING,
GOA_PROVIDER_GROUP_CHAT,
GOA_PROVIDER_GROUP_INVALID
} GoaProviderGroup;
/**
* GoaProviderFeatures:
* @GOA_PROVIDER_FEATURE_BRANDED: Common providers to be highlighted (ie. Google, OwnCloud).
* @GOA_PROVIDER_FEATURE_MAIL: Mail services (ie. SMTP, IMAP).
* @GOA_PROVIDER_FEATURE_CALENDAR: Calendaring services (ie. CalDAV).
* @GOA_PROVIDER_FEATURE_CONTACTS: Addressbook services (ie. CardDAV).
* @GOA_PROVIDER_FEATURE_CHAT: Instant messaging services (ie. XMPP, IRC).
* @GOA_PROVIDER_FEATURE_DOCUMENTS: Documents storage services (ie. Google Documents).
* @GOA_PROVIDER_FEATURE_PHOTOS: Photos storage services (ie. Flickr).
* @GOA_PROVIDER_FEATURE_FILES: Files storage services (ie. WebDAV).
* @GOA_PROVIDER_FEATURE_TICKETING: Ticketing services (ie. Kerberos).
* @GOA_PROVIDER_FEATURE_INVALID: Used for error handling. No provider
* should provide this feature.
*
* These flags specify the features exported by each provider. They can be
* expecially useful to restrict the list of available providers when
* requesting the creation of an account for a specific purpose (eg. from a
* chat program).
*
* Since: 3.10
*/
typedef enum /*< flags >*/
{
GOA_PROVIDER_FEATURE_BRANDED = 1 << 1,
GOA_PROVIDER_FEATURE_MAIL = 1 << 2,
GOA_PROVIDER_FEATURE_CALENDAR = 1 << 3,
GOA_PROVIDER_FEATURE_CONTACTS = 1 << 4,
GOA_PROVIDER_FEATURE_CHAT = 1 << 5,
GOA_PROVIDER_FEATURE_DOCUMENTS = 1 << 6,
GOA_PROVIDER_FEATURE_PHOTOS = 1 << 7,
GOA_PROVIDER_FEATURE_FILES = 1 << 8,
GOA_PROVIDER_FEATURE_TICKETING = 1 << 9,
GOA_PROVIDER_FEATURE_INVALID = 0
} GoaProviderFeatures;
G_END_DECLS
#endif /* __GOA_BACKEND_ENUMS_H__ */
|