1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * soup-gnome-features.c: GNOME-specific features
5 * Copyright (C) 2008 Red Hat, Inc.
12 #include "soup-gnome-features.h"
15 * SOUP_TYPE_PROXY_RESOLVER_GNOME:
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.
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
28 /* This is actually declared in soup-proxy-resolver-gnome now */
31 * SOUP_TYPE_GNOME_FEATURES_2_26:
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).
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.
44 soup_gnome_features_2_26_get_type (void)
46 /* Eventually this needs to be a special SoupSessionFeature
47 * class that registers other features. But for now we can
50 return SOUP_TYPE_PROXY_RESOLVER_GNOME;