1 /* GIO - GLib Input, Output and Streaming Library
3 * Copyright 2010 Collabora, Ltd.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General
16 * Public License along with this library; if not, see
17 * <http://www.gnu.org/licenses/>.
19 * Author: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
22 #ifndef __G_LIBPROXY_RESOLVER_H__
23 #define __G_LIBPROXY_RESOLVER_H__
25 #include <glib-object.h>
30 #define G_TYPE_LIBPROXY_RESOLVER (g_libproxy_resolver_get_type ())
31 #define G_LIBPROXY_RESOLVER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_LIBPROXY_RESOLVER, GLibProxyResolver))
32 #define G_LIBPROXY_RESOLVER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_LIBPROXY_RESOLVER, GLibProxyResolverClass))
33 #define G_IS_LIBPROXY_RESOLVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_LIBPROXY_RESOLVER))
34 #define G_IS_LIBPROXY_RESOLVER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_LIBPROXY_RESOLVER))
35 #define G_LIBPROXY_RESOLVER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_LIBPROXY_RESOLVER, GLibProxyResolverClass))
37 typedef struct _GLibProxyResolver GLibProxyResolver;
38 typedef struct _GLibProxyResolverClass GLibProxyResolverClass;
40 struct _GLibProxyResolverClass {
41 GObjectClass parent_class;
44 GType g_libproxy_resolver_get_type (void);
45 void g_libproxy_resolver_register (GIOModule *module);
49 #endif /* __G_LIBPROXY_RESOLVER_H__ */