Git init
[profile/ivi/libsoup2.4.git] / libsoup / soup-gnome-features.c
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * soup-gnome-features.c: GNOME-specific features
4  *
5  * Copyright (C) 2008 Red Hat, Inc.
6  */
7
8 #ifdef HAVE_CONFIG_H
9 #include <config.h>
10 #endif
11
12 #include "soup-gnome-features.h"
13
14 /**
15  * SOUP_TYPE_PROXY_RESOLVER_GNOME:
16  *
17  * This returns the #GType of a #SoupProxyResolver that can be used to
18  * resolve HTTP proxies for GNOME applications. You can add this to
19  * a session using soup_session_add_feature_by_type() or by using the
20  * %SOUP_SESSION_ADD_FEATURE_BY_TYPE construct-time property.
21  *
22  * This feature is included in %SOUP_TYPE_GNOME_FEATURES_2_26, so if
23  * you are using that feature, you do not need to include this feature
24  * separately.
25  *
26  * Since: 2.26
27  **/
28 /* This is actually declared in soup-proxy-resolver-gnome now */
29
30 /**
31  * SOUP_TYPE_GNOME_FEATURES_2_26:
32  *
33  * This returns the #GType of a #SoupSessionFeature that automatically
34  * adds all of the GNOME features defined for libsoup 2.26 (which is
35  * just %SOUP_TYPE_PROXY_RESOLVER_GNOME).
36  *
37  * You can add this to a session using
38  * soup_session_add_feature_by_type() or by using the
39  * %SOUP_SESSION_ADD_FEATURE_BY_TYPE construct-time property.
40  *
41  * Since: 2.26
42  **/
43 GType
44 soup_gnome_features_2_26_get_type (void)
45 {
46         /* Eventually this needs to be a special SoupSessionFeature
47          * class that registers other features. But for now we can
48          * just do this:
49          */
50         return SOUP_TYPE_PROXY_RESOLVER_GNOME;
51 }
52