2
* media-manager.h - header for an example channel manager
4
* Copyright © 2007-2009 Collabora Ltd. <http://www.collabora.co.uk/>
5
* Copyright © 2007-2009 Nokia Corporation
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
#ifndef __EXAMPLE_CALLABLE_MEDIA_MANAGER_H__
23
#define __EXAMPLE_CALLABLE_MEDIA_MANAGER_H__
25
#include <glib-object.h>
29
typedef struct _ExampleCallableMediaManager ExampleCallableMediaManager;
30
typedef struct _ExampleCallableMediaManagerPrivate
31
ExampleCallableMediaManagerPrivate;
33
typedef struct _ExampleCallableMediaManagerClass
34
ExampleCallableMediaManagerClass;
35
typedef struct _ExampleCallableMediaManagerClassPrivate
36
ExampleCallableMediaManagerClassPrivate;
38
struct _ExampleCallableMediaManagerClass {
39
GObjectClass parent_class;
41
ExampleCallableMediaManagerClassPrivate *priv;
44
struct _ExampleCallableMediaManager {
47
ExampleCallableMediaManagerPrivate *priv;
50
GType example_callable_media_manager_get_type (void);
53
#define EXAMPLE_TYPE_CALLABLE_MEDIA_MANAGER \
54
(example_callable_media_manager_get_type ())
55
#define EXAMPLE_CALLABLE_MEDIA_MANAGER(obj) \
56
(G_TYPE_CHECK_INSTANCE_CAST((obj), EXAMPLE_TYPE_CALLABLE_MEDIA_MANAGER, \
57
ExampleCallableMediaManager))
58
#define EXAMPLE_CALLABLE_MEDIA_MANAGER_CLASS(klass) \
59
(G_TYPE_CHECK_CLASS_CAST((klass), EXAMPLE_TYPE_CALLABLE_MEDIA_MANAGER, \
60
ExampleCallableMediaManagerClass))
61
#define EXAMPLE_IS_CALLABLE_MEDIA_MANAGER(obj) \
62
(G_TYPE_CHECK_INSTANCE_TYPE((obj), EXAMPLE_TYPE_CALLABLE_MEDIA_MANAGER))
63
#define EXAMPLE_IS_CALLABLE_MEDIA_MANAGER_CLASS(klass) \
64
(G_TYPE_CHECK_CLASS_TYPE((klass), EXAMPLE_TYPE_CALLABLE_MEDIA_MANAGER))
65
#define EXAMPLE_CALLABLE_MEDIA_MANAGER_GET_CLASS(obj) \
66
(G_TYPE_INSTANCE_GET_CLASS ((obj), EXAMPLE_TYPE_CALLABLE_MEDIA_MANAGER, \
67
ExampleCallableMediaManagerClass))