2 * Copyright (C) 2011 Jens Georg.
4 * Author: Jens Georg <mail@jensge.org>
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., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
22 #ifndef __GUPNP_LINUX_CONTEXT_MANAGER_H__
23 #define __GUPNP_LINUX_CONTEXT_MANAGER_H__
26 #include <glib-object.h>
28 #include "gupnp-context-manager.h"
33 gupnp_linux_context_manager_get_type (void) G_GNUC_CONST;
35 #define GUPNP_TYPE_LINUX_CONTEXT_MANAGER \
36 (gupnp_linux_context_manager_get_type ())
37 #define GUPNP_LINUX_CONTEXT_MANAGER(obj) \
38 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
39 GUPNP_TYPE_LINUX_CONTEXT_MANAGER, \
40 GUPnPLinuxContextManager))
41 #define GUPNP_LINUX_CONTEXT_MANAGER_CLASS(obj) \
42 (G_TYPE_CHECK_CLASS_CAST ((obj), \
43 GUPNP_TYPE_LINUX_CONTEXT_MANAGER, \
44 GUPnPLinuxContextManagerClass))
45 #define GUPNP_IS_LINUX_CONTEXT_MANAGER(obj) \
46 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
47 GUPNP_TYPE_LINUX_CONTEXT_MANAGER))
48 #define GUPNP_IS_LINUX_CONTEXT_MANAGER_CLASS(obj) \
49 (G_TYPE_CHECK_CLASS_TYPE ((obj), \
50 GUPNP_TYPE_LINUX_CONTEXT_MANAGER))
51 #define GUPNP_LINUX_CONTEXT_MANAGER_GET_CLASS(obj) \
52 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
53 GUPNP_TYPE_LINUX_CONTEXT_MANAGER, \
54 GUPnPLinuxContextManagerClass))
56 typedef struct _GUPnPLinuxContextManagerPrivate GUPnPLinuxContextManagerPrivate;
59 GUPnPContextManager parent;
61 GUPnPLinuxContextManagerPrivate *priv;
62 } GUPnPLinuxContextManager;
65 GUPnPContextManagerClass parent_class;
68 void (* _gupnp_reserved1) (void);
69 void (* _gupnp_reserved2) (void);
70 void (* _gupnp_reserved3) (void);
71 void (* _gupnp_reserved4) (void);
72 } GUPnPLinuxContextManagerClass;
74 G_GNUC_INTERNAL gboolean gupnp_linux_context_manager_is_available (void);
78 #endif /* __GUPNP_LINUX_CONTEXT_MANAGER_H__ */