2 * Copyright (C) 2009 Nokia Corporation.
4 * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
5 * <zeeshan.ali@nokia.com>
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
23 #ifndef __GUPNP_NETWORK_MANAGER_H__
24 #define __GUPNP_NETWORK_MANAGER_H__
26 #include "gupnp-context-manager.h"
31 gupnp_network_manager_get_type (void) G_GNUC_CONST;
33 #define GUPNP_TYPE_NETWORK_MANAGER \
34 (gupnp_network_manager_get_type ())
35 #define GUPNP_NETWORK_MANAGER(obj) \
36 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
37 GUPNP_TYPE_NETWORK_MANAGER, \
39 #define GUPNP_NETWORK_MANAGER_CLASS(obj) \
40 (G_TYPE_CHECK_CLASS_CAST ((obj), \
41 GUPNP_TYPE_NETWORK_MANAGER, \
42 GUPnPNetworkManagerClass))
43 #define GUPNP_IS_NETWORK_MANAGER(obj) \
44 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
45 GUPNP_TYPE_NETWORK_MANAGER))
46 #define GUPNP_IS_NETWORK_MANAGER_CLASS(obj) \
47 (G_TYPE_CHECK_CLASS_TYPE ((obj), \
48 GUPNP_TYPE_NETWORK_MANAGER))
49 #define GUPNP_NETWORK_MANAGER_GET_CLASS(obj) \
50 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
51 GUPNP_TYPE_NETWORK_MANAGER, \
52 GUPnPNetworkManagerClass))
54 typedef struct _GUPnPNetworkManagerPrivate GUPnPNetworkManagerPrivate;
57 GUPnPContextManager parent;
59 GUPnPNetworkManagerPrivate *priv;
60 } GUPnPNetworkManager;
63 GUPnPContextManagerClass parent_class;
66 void (* _gupnp_reserved1) (void);
67 void (* _gupnp_reserved2) (void);
68 void (* _gupnp_reserved3) (void);
69 void (* _gupnp_reserved4) (void);
70 } GUPnPNetworkManagerClass;
72 G_GNUC_INTERNAL gboolean
73 gupnp_network_manager_is_available ();
77 #endif /* __GUPNP_NETWORK_MANAGER_H__ */