Initialize Tizen 2.3
[external/gupnp.git] / libgupnp / gupnp-device-proxy.h
1 /*
2  * Copyright (C) 2006, 2007 OpenedHand Ltd.
3  *
4  * Author: Jorn Baayen <jorn@openedhand.com>
5  *
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.
10  *
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.
15  *
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.
20  */
21
22 #ifndef __GUPNP_DEVICE_PROXY_H__
23 #define __GUPNP_DEVICE_PROXY_H__
24
25 #include "gupnp-device-info.h"
26
27 G_BEGIN_DECLS
28
29 GType
30 gupnp_device_proxy_get_type (void) G_GNUC_CONST;
31
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, \
37                  GUPnPDeviceProxy))
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))
52
53 typedef struct _GUPnPDeviceProxyPrivate GUPnPDeviceProxyPrivate;
54
55 /**
56  * GUPnPDeviceProxy:
57  *
58  * This struct contains private data only, and should be accessed using the
59  * functions below.
60  */
61 typedef struct {
62         GUPnPDeviceInfo parent;
63
64         GUPnPDeviceProxyPrivate *priv;
65 } GUPnPDeviceProxy;
66
67 typedef struct {
68         GUPnPDeviceInfoClass parent_class;
69
70         /* future padding */
71         void (* _gupnp_reserved1) (void);
72         void (* _gupnp_reserved2) (void);
73         void (* _gupnp_reserved3) (void);
74         void (* _gupnp_reserved4) (void);
75 } GUPnPDeviceProxyClass;
76
77 G_END_DECLS
78
79 #endif /* __GUPNP_DEVICE_PROXY_H__ */