Initial submission of GUPnP to Tizen IVI
[profile/ivi/GUPnP.git] / libgupnp / gupnp-linux-context-manager.h
1 /*
2  * Copyright (C) 2011 Jens Georg.
3  *
4  * Author: Jens Georg <mail@jensge.org>
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., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  */
21
22 #ifndef __GUPNP_LINUX_CONTEXT_MANAGER_H__
23 #define __GUPNP_LINUX_CONTEXT_MANAGER_H__
24
25 #include "gupnp-context-manager.h"
26
27 G_BEGIN_DECLS
28
29 G_GNUC_INTERNAL GType
30 gupnp_linux_context_manager_get_type (void) G_GNUC_CONST;
31
32 #define GUPNP_TYPE_LINUX_CONTEXT_MANAGER \
33                 (gupnp_linux_context_manager_get_type ())
34 #define GUPNP_LINUX_CONTEXT_MANAGER(obj) \
35                 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
36                  GUPNP_TYPE_LINUX_CONTEXT_MANAGER, \
37                  GUPnPLinuxContextManager))
38 #define GUPNP_LINUX_CONTEXT_MANAGER_CLASS(obj) \
39                 (G_TYPE_CHECK_CLASS_CAST ((obj), \
40                  GUPNP_TYPE_LINUX_CONTEXT_MANAGER, \
41                  GUPnPLinuxContextManagerClass))
42 #define GUPNP_IS_LINUX_CONTEXT_MANAGER(obj) \
43                 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
44                  GUPNP_TYPE_LINUX_CONTEXT_MANAGER))
45 #define GUPNP_IS_LINUX_CONTEXT_MANAGER_CLASS(obj) \
46                 (G_TYPE_CHECK_CLASS_TYPE ((obj), \
47                  GUPNP_TYPE_LINUX_CONTEXT_MANAGER))
48 #define GUPNP_LINUX_CONTEXT_MANAGER_GET_CLASS(obj) \
49                 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
50                  GUPNP_TYPE_LINUX_CONTEXT_MANAGER, \
51                  GUPnPLinuxContextManagerClass))
52
53 typedef struct _GUPnPLinuxContextManagerPrivate GUPnPLinuxContextManagerPrivate;
54
55 typedef struct {
56         GUPnPContextManager parent;
57
58         GUPnPLinuxContextManagerPrivate *priv;
59 } GUPnPLinuxContextManager;
60
61 typedef struct {
62         GUPnPContextManagerClass parent_class;
63
64         /* future padding */
65         void (* _gupnp_reserved1) (void);
66         void (* _gupnp_reserved2) (void);
67         void (* _gupnp_reserved3) (void);
68         void (* _gupnp_reserved4) (void);
69 } GUPnPLinuxContextManagerClass;
70
71 G_END_DECLS
72
73 #endif /* __GUPNP_LINUX_CONTEXT_MANAGER_H__ */