2 * Copyright (C) 2009 Nokia Corporation, all rights reserved.
3 * Copyright (C) 2006, 2007, 2008 OpenedHand Ltd.
5 * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
6 * Jorn Baayen <jorn@openedhand.com>
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.
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.
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.
24 #ifndef __GUPNP_UNIX_CONTEXT_MANAGER_H__
25 #define __GUPNP_UNIX_CONTEXT_MANAGER_H__
27 #include "gupnp-context-manager.h"
32 gupnp_unix_context_manager_get_type (void) G_GNUC_CONST;
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))
55 typedef struct _GUPnPUnixContextManagerPrivate GUPnPUnixContextManagerPrivate;
58 GUPnPContextManager parent;
60 GUPnPUnixContextManagerPrivate *priv;
61 } GUPnPUnixContextManager;
64 GUPnPContextManagerClass parent_class;
67 void (* _gupnp_reserved1) (void);
68 void (* _gupnp_reserved2) (void);
69 void (* _gupnp_reserved3) (void);
70 void (* _gupnp_reserved4) (void);
71 } GUPnPUnixContextManagerClass;
75 #endif /* __GUPNP_UNIX_CONTEXT_MANAGER_H__ */