tizen 2.3.1 release
[external/gupnp.git] / libgupnp / gupnp-unix-context-manager.h
1 /*
2  * Copyright (C) 2009 Nokia Corporation, all rights reserved.
3  * Copyright (C) 2006, 2007, 2008 OpenedHand Ltd.
4  *
5  * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
6  *         Jorn Baayen <jorn@openedhand.com>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23
24 #ifndef __GUPNP_UNIX_CONTEXT_MANAGER_H__
25 #define __GUPNP_UNIX_CONTEXT_MANAGER_H__
26
27 #include "gupnp-context-manager.h"
28
29 G_BEGIN_DECLS
30
31 GType
32 gupnp_unix_context_manager_get_type (void) G_GNUC_CONST;
33
34 #define GUPNP_TYPE_UNIX_CONTEXT_MANAGER \
35                 (gupnp_unix_context_manager_get_type ())
36 #define GUPNP_UNIX_CONTEXT_MANAGER(obj) \
37                 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
38                  GUPNP_TYPE_UNIX_CONTEXT_MANAGER, \
39                  GUPnPUnixContextManager))
40 #define GUPNP_UNIX_CONTEXT_MANAGER_CLASS(obj) \
41                 (G_TYPE_CHECK_CLASS_CAST ((obj), \
42                  GUPNP_TYPE_UNIX_CONTEXT_MANAGER, \
43                  GUPnPUnixContextManagerClass))
44 #define GUPNP_IS_UNIX_CONTEXT_MANAGER(obj) \
45                 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
46                  GUPNP_TYPE_UNIX_CONTEXT_MANAGER))
47 #define GUPNP_IS_UNIX_CONTEXT_MANAGER_CLASS(obj) \
48                 (G_TYPE_CHECK_CLASS_TYPE ((obj), \
49                  GUPNP_TYPE_UNIX_CONTEXT_MANAGER))
50 #define GUPNP_UNIX_CONTEXT_MANAGER_GET_CLASS(obj) \
51                 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
52                  GUPNP_TYPE_UNIX_CONTEXT_MANAGER, \
53                  GUPnPUnixContextManagerClass))
54
55 typedef struct _GUPnPUnixContextManagerPrivate GUPnPUnixContextManagerPrivate;
56
57 typedef struct {
58         GUPnPContextManager parent;
59
60         GUPnPUnixContextManagerPrivate *priv;
61 } GUPnPUnixContextManager;
62
63 typedef struct {
64         GUPnPContextManagerClass parent_class;
65
66         /* future padding */
67         void (* _gupnp_reserved1) (void);
68         void (* _gupnp_reserved2) (void);
69         void (* _gupnp_reserved3) (void);
70         void (* _gupnp_reserved4) (void);
71 } GUPnPUnixContextManagerClass;
72
73 G_END_DECLS
74
75 #endif /* __GUPNP_UNIX_CONTEXT_MANAGER_H__ */