~ubuntu-branches/ubuntu/wily/telepathy-glib/wily

« back to all changes in this revision

Viewing changes to examples/cm/callable/media-manager.h

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2009-03-24 22:06:52 UTC
  • mfrom: (1.3.1 upstream) (17.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20090324220652-c8dvom0nsqomp23d
Tags: 0.7.28-1
* New upstream version (ABI, API added)
* Put the -dbg package in section debug, as per recent archive changes
* Remove obsolete Conflicts/Replaces with libtelepathy-glib-static-dev, which
  was never in a stable release (and probably never in Debian at all)

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_CALLABLE_MEDIA_MANAGER_H__
 
23
#define __EXAMPLE_CALLABLE_MEDIA_MANAGER_H__
 
24
 
 
25
#include <glib-object.h>
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
typedef struct _ExampleCallableMediaManager ExampleCallableMediaManager;
 
30
typedef struct _ExampleCallableMediaManagerPrivate
 
31
    ExampleCallableMediaManagerPrivate;
 
32
 
 
33
typedef struct _ExampleCallableMediaManagerClass
 
34
    ExampleCallableMediaManagerClass;
 
35
typedef struct _ExampleCallableMediaManagerClassPrivate
 
36
    ExampleCallableMediaManagerClassPrivate;
 
37
 
 
38
struct _ExampleCallableMediaManagerClass {
 
39
    GObjectClass parent_class;
 
40
 
 
41
    ExampleCallableMediaManagerClassPrivate *priv;
 
42
};
 
43
 
 
44
struct _ExampleCallableMediaManager {
 
45
    GObject parent;
 
46
 
 
47
    ExampleCallableMediaManagerPrivate *priv;
 
48
};
 
49
 
 
50
GType example_callable_media_manager_get_type (void);
 
51
 
 
52
/* TYPE MACROS */
 
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))
 
68
 
 
69
G_END_DECLS
 
70
 
 
71
#endif