Mercurial > pidgin
annotate libpurple/mediamanager.h @ 23855:e23b447aa5ca
propagate from branch 'im.pidgin.pidgin' (head e3ceb09b71185a9074ce73733f2a65b437c9a545)
to branch 'im.pidgin.soc.2008.vv' (head a94b36f0065825b75de573746f680ae616b34f41)
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Wed, 16 Jul 2008 21:55:08 +0000 |
parents | cbe97caec684 |
children | b8a73b6dc0a4 |
rev | line source |
---|---|
23760 | 1 /** |
23766 | 2 * @file mediamanager.h Media Manager API |
23760 | 3 * @ingroup core |
4 * | |
5 * purple | |
6 * | |
7 * Purple is the legal property of its developers, whose names are too numerous | |
8 * to list here. Please refer to the COPYRIGHT file distributed with this | |
9 * source distribution. | |
10 * | |
11 * This program is free software; you can redistribute it and/or modify | |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
24 */ | |
25 | |
26 #ifndef __MEDIA_MANAGER_H_ | |
27 #define __MEDIA_MANAGER_H_ | |
28 | |
23804
cbe97caec684
Use USE_VV instead of USE_FARSIGHT.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23797
diff
changeset
|
29 #ifdef USE_VV |
23760 | 30 |
23797
e1c8ec1259de
Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23775
diff
changeset
|
31 #include <gst/farsight/fs-session.h> |
23760 | 32 #include <glib.h> |
33 #include <glib-object.h> | |
34 | |
35 #include "connection.h" | |
36 #include "media.h" | |
37 | |
38 G_BEGIN_DECLS | |
39 | |
40 #define PURPLE_TYPE_MEDIA_MANAGER (purple_media_manager_get_type()) | |
41 #define PURPLE_MEDIA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_MEDIA_MANAGER, PurpleMediaManager)) | |
42 #define PURPLE_MEDIA_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PURPLE_TYPE_MEDIA_MANAGER, PurpleMediaManagerClass)) | |
43 #define PURPLE_IS_MEDIA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PURPLE_TYPE_MEDIA_MANAGER)) | |
44 #define PURPLE_IS_MEDIA_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), PURPLE_TYPE_MEDIA_MANAGER)) | |
45 #define PURPLE_MEDIA_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PURPLE_TYPE_MEDIA_MANAGER, PurpleMediaManagerClass)) | |
46 | |
47 typedef struct _PurpleMediaManager PurpleMediaManager; | |
48 typedef struct _PurpleMediaManagerClass PurpleMediaManagerClass; | |
49 typedef struct _PurpleMediaManagerPrivate PurpleMediaManagerPrivate; | |
50 | |
51 struct _PurpleMediaManagerClass | |
52 { | |
53 GObjectClass parent_class; | |
54 }; | |
55 | |
56 struct _PurpleMediaManager | |
57 { | |
58 GObject parent; | |
59 PurpleMediaManagerPrivate *priv; | |
60 }; | |
61 | |
23766 | 62 GType purple_media_manager_get_type(void); |
63 PurpleMediaManager *purple_media_manager_get(void); | |
23760 | 64 PurpleMedia *purple_media_manager_create_media(PurpleMediaManager *manager, |
23797
e1c8ec1259de
Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23775
diff
changeset
|
65 PurpleConnection *gc, |
e1c8ec1259de
Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23775
diff
changeset
|
66 const char *conference_type, |
e1c8ec1259de
Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23775
diff
changeset
|
67 const char *remote_user); |
23760 | 68 |
69 G_END_DECLS | |
70 | |
23804
cbe97caec684
Use USE_VV instead of USE_FARSIGHT.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23797
diff
changeset
|
71 #endif /* USE_VV */ |
23760 | 72 |
73 | |
74 #endif /* __MEDIA_MANAGER_H_ */ |