Mercurial > pidgin.yaz
annotate pidgin/gtkmedia.h @ 26157:1aed9a92b657
Implement *_remove_output_window and *_remove_output_windows.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Mon, 02 Feb 2009 09:58:14 +0000 |
parents | 685c8f5f85c7 |
children | e114ed3c8cfe |
rev | line source |
---|---|
25550 | 1 /** |
2 * @file media.h Account API | |
3 * @ingroup core | |
4 * | |
5 * Pidgin | |
6 * | |
7 * Pidgin 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 __GTKMEDIA_H_ | |
27 #define __GTKMEDIA_H_ | |
28 | |
25654
cbe97caec684
Use USE_VV instead of USE_FARSIGHT.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25647
diff
changeset
|
29 #ifdef USE_VV |
25550 | 30 |
31 #include <gtk/gtk.h> | |
32 #include <glib-object.h> | |
33 | |
34 #include "connection.h" | |
35 | |
36 G_BEGIN_DECLS | |
37 | |
38 #define PIDGIN_TYPE_MEDIA (pidgin_media_get_type()) | |
39 #define PIDGIN_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PIDGIN_TYPE_MEDIA, PidginMedia)) | |
40 #define PIDGIN_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PIDGIN_TYPE_MEDIA, PidginMediaClass)) | |
41 #define PIDGIN_IS_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PIDGIN_TYPE_MEDIA)) | |
42 #define PIDGIN_IS_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), PIDGIN_TYPE_MEDIA)) | |
43 #define PIDGIN_MEDIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PIDGIN_TYPE_MEDIA, PidginMediaClass)) | |
44 | |
45 typedef struct _PidginMedia PidginMedia; | |
46 typedef struct _PidginMediaClass PidginMediaClass; | |
47 typedef struct _PidginMediaPrivate PidginMediaPrivate; | |
48 | |
49 struct _PidginMediaClass | |
50 { | |
26145
685c8f5f85c7
Separate PidginMedia from PidginConversation.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
26131
diff
changeset
|
51 GtkWindowClass parent_class; |
25550 | 52 }; |
53 | |
54 struct _PidginMedia | |
55 { | |
26145
685c8f5f85c7
Separate PidginMedia from PidginConversation.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
26131
diff
changeset
|
56 GtkWindow parent; |
25550 | 57 PidginMediaPrivate *priv; |
58 }; | |
59 | |
25634
741a702033e0
Show a message when the remote end terminates a session.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
25550
diff
changeset
|
60 GType pidgin_media_get_type(void); |
25550 | 61 |
26145
685c8f5f85c7
Separate PidginMedia from PidginConversation.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
26131
diff
changeset
|
62 void pidgin_medias_init(void); |
685c8f5f85c7
Separate PidginMedia from PidginConversation.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
26131
diff
changeset
|
63 |
26060
0829a08038c6
Remove the screenname attribute from PurpleMedia.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25686
diff
changeset
|
64 GtkWidget *pidgin_media_new(PurpleMedia *media, const gchar *screenname); |
25550 | 65 |
66 G_END_DECLS | |
67 | |
25654
cbe97caec684
Use USE_VV instead of USE_FARSIGHT.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25647
diff
changeset
|
68 #endif /* USE_VV */ |
25550 | 69 |
70 | |
71 #endif /* __GTKMEDIA_H_ */ |