~tiagosh/telepathy-qt/group-chat2

« back to all changes in this revision

Viewing changes to tests/lib/glib/call/call-manager.h

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo
  • Date: 2013-06-06 04:56:14 UTC
  • Revision ID: package-import@ubuntu.com-20130606045614-inpxexo6765rnmp1
Tags: upstream-0.9.3
Import upstream version 0.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * media-manager.h - header for an example channel manager
 
3
 *
 
4
 * Copyright © 2007-2009 Collabora Ltd. <http://www.collabora.co.uk/>
 
5
 * Copyright © 2007-2009 Nokia Corporation
 
6
 *
 
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.
 
11
 *
 
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.
 
16
 *
 
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
 
20
 */
 
21
 
 
22
#ifndef EXAMPLE_CALL_MANAGER_H
 
23
#define EXAMPLE_CALL_MANAGER_H
 
24
 
 
25
#include <glib-object.h>
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
typedef struct _ExampleCallManager ExampleCallManager;
 
30
typedef struct _ExampleCallManagerPrivate
 
31
    ExampleCallManagerPrivate;
 
32
 
 
33
typedef struct _ExampleCallManagerClass
 
34
    ExampleCallManagerClass;
 
35
typedef struct _ExampleCallManagerClassPrivate
 
36
    ExampleCallManagerClassPrivate;
 
37
 
 
38
struct _ExampleCallManagerClass {
 
39
    GObjectClass parent_class;
 
40
 
 
41
    ExampleCallManagerClassPrivate *priv;
 
42
};
 
43
 
 
44
struct _ExampleCallManager {
 
45
    GObject parent;
 
46
 
 
47
    ExampleCallManagerPrivate *priv;
 
48
};
 
49
 
 
50
GType example_call_manager_get_type (void);
 
51
 
 
52
/* TYPE MACROS */
 
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, \
 
57
                              ExampleCallManager))
 
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))
 
68
 
 
69
G_END_DECLS
 
70
 
 
71
#endif