1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ 2 /* 3 * GData Client 4 * Copyright (C) Philip Withnall 2011 <philip@tecnocode.co.uk> 5 * 6 * GData Client is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * GData Client is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with GData Client. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 #ifndef GDATA_AUTHORIZATION_DOMAIN_H 21 #define GDATA_AUTHORIZATION_DOMAIN_H 22 23 #include <glib.h> 24 #include <glib-object.h> 25 26 G_BEGIN_DECLS 27 28 #define GDATA_TYPE_AUTHORIZATION_DOMAIN (gdata_authorization_domain_get_type ()) 29 #define GDATA_AUTHORIZATION_DOMAIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDATA_TYPE_AUTHORIZATION_DOMAIN, GDataAuthorizationDomain)) 30 #define GDATA_AUTHORIZATION_DOMAIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDATA_TYPE_AUTHORIZATION_DOMAIN, GDataAuthorizationDomainClass)) 31 #define GDATA_IS_AUTHORIZATION_DOMAIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDATA_TYPE_AUTHORIZATION_DOMAIN)) 32 #define GDATA_IS_AUTHORIZATION_DOMAIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDATA_TYPE_AUTHORIZATION_DOMAIN)) 33 #define GDATA_AUTHORIZATION_DOMAIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDATA_TYPE_AUTHORIZATION_DOMAIN, GDataAuthorizationDomainClass)) 34 35 typedef struct _GDataAuthorizationDomainPrivate GDataAuthorizationDomainPrivate; 36 37 /** 38 * GDataAuthorizationDomain: 39 * 40 * All the fields in the #GDataAuthorizationDomain structure are private and should never be accessed directly. 41 * 42 * Since: 0.9.0 43 */ 44 typedef struct { 45 /*< private >*/ 46 GObject parent; 47 GDataAuthorizationDomainPrivate *priv; 48 } GDataAuthorizationDomain; 49 50 /** 51 * GDataAuthorizationDomainClass: 52 * 53 * All the fields in the #GDataAuthorizationDomainClass structure are private and should never be accessed directly. 54 * 55 * Since: 0.9.0 56 */ 57 typedef struct { 58 /*< private >*/ 59 GObjectClass parent; 60 61 /*< private >*/ 62 /* Padding for future expansion */ 63 void (*_g_reserved0) (void); 64 void (*_g_reserved1) (void); 65 void (*_g_reserved2) (void); 66 void (*_g_reserved3) (void); 67 void (*_g_reserved4) (void); 68 void (*_g_reserved5) (void); 69 } GDataAuthorizationDomainClass; 70 71 GType gdata_authorization_domain_get_type (void) G_GNUC_CONST; 72 73 const gchar *gdata_authorization_domain_get_service_name (GDataAuthorizationDomain *self) G_GNUC_PURE; 74 const gchar *gdata_authorization_domain_get_scope (GDataAuthorizationDomain *self) G_GNUC_PURE; 75 76 G_END_DECLS 77 78 #endif /* !GDATA_AUTHORIZATION_DOMAIN_H */ 79