Use AM_CPPFLAGS instead of INCLUDES
[platform/upstream/libsecret.git] / libsecret / secret.h
1 /* libsecret - GLib wrapper for Secret Service
2  *
3  * Copyright 2012 Red Hat Inc.
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Lesser General Public License as published
7  * by the Free Software Foundation; either version 2.1 of the licence or (at
8  * your option) any later version.
9  *
10  * See the included COPYING file for more information.
11  *
12  * Author: Stef Walter <stefw@gnome.org>
13  */
14
15 #ifndef __SECRET_H__
16 #define __SECRET_H__
17
18 #include <glib.h>
19
20 #define __SECRET_INSIDE_HEADER__
21
22 #include <libsecret/secret-attributes.h>
23 #include <libsecret/secret-password.h>
24 #include <libsecret/secret-schema.h>
25 #include <libsecret/secret-schemas.h>
26 #include <libsecret/secret-types.h>
27
28 /* SECRET_WITH_UNSTABLE is defined in the secret-unstable.pc pkg-config file */
29 #if defined(SECRET_WITH_UNSTABLE) || defined(SECRET_API_SUBJECT_TO_CHANGE)
30
31 #ifndef SECRET_API_SUBJECT_TO_CHANGE
32 #warning "Some parts of the libsecret API are unstable. Define SECRET_API_SUBJECT_TO_CHANGE to acknowledge"
33 #endif
34
35 #include <libsecret/secret-collection.h>
36 #include <libsecret/secret-enum-types.h>
37 #include <libsecret/secret-item.h>
38 #include <libsecret/secret-paths.h>
39 #include <libsecret/secret-prompt.h>
40 #include <libsecret/secret-service.h>
41 #include <libsecret/secret-value.h>
42
43 #endif /* SECRET_WITH_UNSTABLE || SECRET_API_SUBJECT_TO_CHANGE */
44
45 #undef __SECRET_INSIDE_HEADER__
46
47 #endif /* __SECRET_H__ */