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