2 * Copyright (C) 2006, 2007 OpenedHand Ltd.
4 * Author: Jorn Baayen <jorn@openedhand.com>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
22 #ifndef __GUPNP_DEVICE_PROXY_H__
23 #define __GUPNP_DEVICE_PROXY_H__
25 #include "gupnp-device-info.h"
30 gupnp_device_proxy_get_type (void) G_GNUC_CONST;
32 #define GUPNP_TYPE_DEVICE_PROXY \
33 (gupnp_device_proxy_get_type ())
34 #define GUPNP_DEVICE_PROXY(obj) \
35 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
36 GUPNP_TYPE_DEVICE_PROXY, \
38 #define GUPNP_DEVICE_PROXY_CLASS(obj) \
39 (G_TYPE_CHECK_CLASS_CAST ((obj), \
40 GUPNP_TYPE_DEVICE_PROXY, \
41 GUPnPDeviceProxyClass))
42 #define GUPNP_IS_DEVICE_PROXY(obj) \
43 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
44 GUPNP_TYPE_DEVICE_PROXY))
45 #define GUPNP_IS_DEVICE_PROXY_CLASS(obj) \
46 (G_TYPE_CHECK_CLASS_TYPE ((obj), \
47 GUPNP_TYPE_DEVICE_PROXY))
48 #define GUPNP_DEVICE_PROXY_GET_CLASS(obj) \
49 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
50 GUPNP_TYPE_DEVICE_PROXY, \
51 GUPnPDeviceProxyClass))
53 typedef struct _GUPnPDeviceProxyPrivate GUPnPDeviceProxyPrivate;
58 * This struct contains private data only, and should be accessed using the
62 GUPnPDeviceInfo parent;
64 GUPnPDeviceProxyPrivate *priv;
68 GUPnPDeviceInfoClass parent_class;
71 void (* _gupnp_reserved1) (void);
72 void (* _gupnp_reserved2) (void);
73 void (* _gupnp_reserved3) (void);
74 void (* _gupnp_reserved4) (void);
75 } GUPnPDeviceProxyClass;
79 #endif /* __GUPNP_DEVICE_PROXY_H__ */