Refresh upstream 2.1.0 release
[profile/ivi/libgsignon-glib.git] / libgsignon-glib / signon-types.h
1 /* vi: set et sw=4 ts=4 cino=t0,(0: */
2 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 /*
4  * This file is part of libgsignon-glib
5  *
6  * Copyright (C) 2012 Canonical Ltd.
7  *
8  * Contact: Alberto Mardegan <alberto.mardegan@canonical.com>
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public License
12  * version 2.1 as published by the Free Software Foundation.
13  *
14  * This library is distributed in the hope that it will be useful, but
15  * WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22  * 02110-1301 USA
23  */
24
25 #ifndef SIGNON_TYPES_H
26 #define SIGNON_TYPES_H
27
28 #include <glib.h>
29
30 G_BEGIN_DECLS
31
32 typedef struct _SignonAuthSession SignonAuthSession;
33 typedef struct _SignonIdentity SignonIdentity;
34
35 #ifdef SIGNON_DISABLE_DEPRECATION_WARNINGS
36 #define SIGNON_DEPRECATED
37 #define SIGNON_DEPRECATED_FOR(x)
38 #else
39 #define SIGNON_DEPRECATED           G_DEPRECATED
40 #define SIGNON_DEPRECATED_FOR(x)    G_DEPRECATED_FOR(x)
41 #endif
42
43 G_END_DECLS
44
45 #endif /* SIGNON_TYPES_H */