2 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
4 * This library is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation.
8 * This library is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this library. If not, see <http://www.gnu.org/licenses/>.
16 * Authors: Jeffrey Stedfast <fejj@ximian.com>
17 * Veerapuram Varadhan <vvaradhan@novell.com>
20 #if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
21 #error "Only <libedataserver/libedataserver.h> should be included directly."
24 #ifndef EDS_DISABLE_DEPRECATED
26 /* Do not generate bindings. */
27 #ifndef __GI_SCANNER__
32 #include <libsoup/soup-uri.h>
34 /* Standard GObject macros */
35 #define E_TYPE_PROXY \
37 #define E_PROXY(obj) \
38 (G_TYPE_CHECK_INSTANCE_CAST \
39 ((obj), E_TYPE_PROXY, EProxy))
40 #define E_PROXY_CLASS(cls) \
41 (G_TYPE_CHECK_CLASS_CAST \
42 ((cls), E_TYPE_PROXY, EProxyClass))
43 #define E_IS_PROXY(obj) \
44 (G_TYPE_CHECK_INSTANCE_TYPE \
45 ((obj), E_TYPE_PROXY))
46 #define E_IS_PROXY_CLASS(cls) \
47 (G_TYPE_CHECK_CLASS_TYPE \
48 ((cls), E_TYPE_PROXY))
49 #define E_PROXY_GET_CLASS(obj) \
50 (G_TYPE_INSTANCE_GET_CLASS \
51 ((obj), E_TYPE_PROXY, EProxyClass))
55 typedef struct _EProxy EProxy
;
56 typedef struct _EProxyClass EProxyClass
;
57 typedef struct _EProxyPrivate EProxyPrivate
;
62 * Contains only private data that should be read and manipulated using the
74 GObjectClass parent_class
;
77 void (*changed
) (EProxy
*proxy
);
80 GType
e_proxy_get_type (void) G_GNUC_CONST
;
81 EProxy
* e_proxy_new (void);
82 void e_proxy_setup_proxy (EProxy
*proxy
);
83 SoupURI
* e_proxy_peek_uri_for (EProxy
*proxy
,
85 gboolean
e_proxy_require_proxy_for_uri (EProxy
*proxy
,
90 #endif /* E_PROXY_H */
92 #endif /* __GI_SCANNER__ */
94 #endif /* EDS_DISABLE_DEPRECATED */