1 /* 2 * Copyright (C) 2018 Red Hat, Inc. (www.redhat.com) 3 * 4 * This library is free software: you can redistribute it and/or modify it 5 * under the terms of the GNU Lesser General Public License as published by 6 * the Free Software Foundation. 7 * 8 * This library is distributed in the hope that it will be useful, but 9 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 10 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 11 * for more details. 12 * 13 * You should have received a copy of the GNU Lesser General Public License 14 * along with this library. If not, see <http://www.gnu.org/licenses/>. 15 */ 16 17 #if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION) 18 #error "Only <libedataserver/libedataserver.h> should be included directly." 19 #endif 20 21 #ifndef E_OAUTH2_SERVICE_OUTLOOK_H 22 #define E_OAUTH2_SERVICE_OUTLOOK_H 23 24 #include <libedataserver/e-oauth2-service-base.h> 25 26 /* Standard GObject macros */ 27 #define E_TYPE_OAUTH2_SERVICE_OUTLOOK \ 28 (e_oauth2_service_outlook_get_type ()) 29 #define E_OAUTH2_SERVICE_OUTLOOK(obj) \ 30 (G_TYPE_CHECK_INSTANCE_CAST \ 31 ((obj), E_TYPE_OAUTH2_SERVICE_OUTLOOK, EOAuth2ServiceOutlook)) 32 #define E_OAUTH2_SERVICE_OUTLOOK_CLASS(cls) \ 33 (G_TYPE_CHECK_CLASS_CAST \ 34 ((cls), E_TYPE_OAUTH2_SERVICE_OUTLOOK, EOAuth2ServiceOutlookClass)) 35 #define E_IS_OAUTH2_SERVICE_OUTLOOK(obj) \ 36 (G_TYPE_CHECK_INSTANCE_TYPE \ 37 ((obj), E_TYPE_OAUTH2_SERVICE_OUTLOOK)) 38 #define E_IS_OAUTH2_SERVICE_OUTLOOK_CLASS(cls) \ 39 (G_TYPE_CHECK_CLASS_TYPE \ 40 ((cls), E_TYPE_OAUTH2_SERVICE_OUTLOOK)) 41 #define E_OAUTH2_SERVICE_OUTLOOK_GET_CLASS(obj) \ 42 (G_TYPE_INSTANCE_GET_CLASS \ 43 ((obj), E_TYPE_OAUTH2_SERVICE_OUTLOOK, EOAuth2ServiceOutlookClass)) 44 45 G_BEGIN_DECLS 46 47 typedef struct _EOAuth2ServiceOutlook EOAuth2ServiceOutlook; 48 typedef struct _EOAuth2ServiceOutlookClass EOAuth2ServiceOutlookClass; 49 50 struct _EOAuth2ServiceOutlook { 51 EOAuth2ServiceBase parent; 52 }; 53 54 struct _EOAuth2ServiceOutlookClass { 55 EOAuth2ServiceBaseClass parent_class; 56 }; 57 58 GType e_oauth2_service_outlook_get_type (void) G_GNUC_CONST; 59 60 G_END_DECLS 61 62 #endif /* E_OAUTH2_SERVICE_OUTLOOK_H */ 63