I#27 - [IMAPx] Ignore DavMail's CR/LF in BODYSTRUCTURE response
[evolution-data-server.git] / src / libedataserverui / e-credentials-prompter-impl-oauth2.h
blob81a831666ec6cb9cab81bed4c4055a93f4b3432d
1 /*
2 * Copyright (C) 2015 Red Hat, Inc. (www.redhat.com)
3 * Copyright (C) 2018 Red Hat, Inc. (www.redhat.com)
5 * This library is free software: you can redistribute it and/or modify it
6 * under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation.
9 * This library is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
12 * for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this library. If not, see <http://www.gnu.org/licenses/>.
19 #if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
20 #error "Only <libedataserverui/libedataserverui.h> should be included directly."
21 #endif
23 #ifndef E_CREDENTIALS_PROMPTER_IMPL_OAUTH2_H
24 #define E_CREDENTIALS_PROMPTER_IMPL_OAUTH2_H
26 #include <glib.h>
27 #include <glib-object.h>
29 #include <libedataserverui/e-credentials-prompter-impl.h>
31 /* Standard GObject macros */
32 #define E_TYPE_CREDENTIALS_PROMPTER_IMPL_OAUTH2 \
33 (e_credentials_prompter_impl_oauth2_get_type ())
34 #define E_CREDENTIALS_PROMPTER_IMPL_OAUTH2(obj) \
35 (G_TYPE_CHECK_INSTANCE_CAST \
36 ((obj), E_TYPE_CREDENTIALS_PROMPTER_IMPL_OAUTH2, ECredentialsPrompterImplOAuth2))
37 #define E_CREDENTIALS_PROMPTER_IMPL_OAUTH2_CLASS(cls) \
38 (G_TYPE_CHECK_CLASS_CAST \
39 ((cls), E_TYPE_CREDENTIALS_PROMPTER_IMPL_OAUTH2, ECredentialsPrompterImplOAuth2Class))
40 #define E_IS_CREDENTIALS_PROMPTER_IMPL_OAUTH2(obj) \
41 (G_TYPE_CHECK_INSTANCE_TYPE \
42 ((obj), E_TYPE_CREDENTIALS_PROMPTER_IMPL_OAUTH2))
43 #define E_IS_CREDENTIALS_PROMPTER_IMPL_OAUTH2_CLASS(cls) \
44 (G_TYPE_CHECK_CLASS_TYPE \
45 ((cls), E_TYPE_CREDENTIALS_PROMPTER_IMPL_OAUTH2))
46 #define E_CREDENTIALS_PROMPTER_IMPL_OAUTH2_GET_CLASS(obj) \
47 (G_TYPE_INSTANCE_GET_CLASS \
48 ((obj), E_TYPE_CREDENTIALS_PROMPTER_IMPL_OAUTH2, ECredentialsPrompterImplOAuth2Class))
50 G_BEGIN_DECLS
52 typedef struct _ECredentialsPrompterImplOAuth2 ECredentialsPrompterImplOAuth2;
53 typedef struct _ECredentialsPrompterImplOAuth2Class ECredentialsPrompterImplOAuth2Class;
54 typedef struct _ECredentialsPrompterImplOAuth2Private ECredentialsPrompterImplOAuth2Private;
56 /**
57 * ECredentialsPrompterImplOAuth2:
59 * Contains only private data that should be read and manipulated using the
60 * functions below.
62 * Since: 3.28
63 **/
64 struct _ECredentialsPrompterImplOAuth2 {
65 ECredentialsPrompterImpl parent;
66 ECredentialsPrompterImplOAuth2Private *priv;
69 struct _ECredentialsPrompterImplOAuth2Class {
70 ECredentialsPrompterImplClass parent_class;
73 GType e_credentials_prompter_impl_oauth2_get_type (void) G_GNUC_CONST;
74 ECredentialsPrompterImpl *
75 e_credentials_prompter_impl_oauth2_new (void);
77 G_END_DECLS
79 #endif /* E_CREDENTIALS_PROMPTER_IMPL_OAUTH2_H */