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_CALL_MANAGER_H
23
#define EXAMPLE_CALL_MANAGER_H
25
#include <glib-object.h>
29
typedef struct _ExampleCallManager ExampleCallManager;
30
typedef struct _ExampleCallManagerPrivate
31
ExampleCallManagerPrivate;
33
typedef struct _ExampleCallManagerClass
34
ExampleCallManagerClass;
35
typedef struct _ExampleCallManagerClassPrivate
36
ExampleCallManagerClassPrivate;
38
struct _ExampleCallManagerClass {
39
GObjectClass parent_class;
41
ExampleCallManagerClassPrivate *priv;
44
struct _ExampleCallManager {
47
ExampleCallManagerPrivate *priv;
50
GType example_call_manager_get_type (void);
53
#define EXAMPLE_TYPE_CALL_MANAGER \
54
(example_call_manager_get_type ())
55
#define EXAMPLE_CALL_MANAGER(obj) \
56
(G_TYPE_CHECK_INSTANCE_CAST((obj), EXAMPLE_TYPE_CALL_MANAGER, \
58
#define EXAMPLE_CALL_MANAGER_CLASS(klass) \
59
(G_TYPE_CHECK_CLASS_CAST((klass), EXAMPLE_TYPE_CALL_MANAGER, \
60
ExampleCallManagerClass))
61
#define EXAMPLE_IS_CALL_MANAGER(obj) \
62
(G_TYPE_CHECK_INSTANCE_TYPE((obj), EXAMPLE_TYPE_CALL_MANAGER))
63
#define EXAMPLE_IS_CALL_MANAGER_CLASS(klass) \
64
(G_TYPE_CHECK_CLASS_TYPE((klass), EXAMPLE_TYPE_CALL_MANAGER))
65
#define EXAMPLE_CALL_MANAGER_GET_CLASS(obj) \
66
(G_TYPE_INSTANCE_GET_CLASS ((obj), EXAMPLE_TYPE_CALL_MANAGER, \
67
ExampleCallManagerClass))