2 * empathy-call-window-fullscreen.h - Header for EmpathyCallWindowFullscreen
3 * Copyright (C) 2009-2011 Collabora Ltd.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifndef __EMPATHY_CALL_WINDOW_FULLSCREEN_H__
21 #define __EMPATHY_CALL_WINDOW_FULLSCREEN_H__
24 #include "empathy-call-window.h"
28 typedef struct _EmpathyCallWindowFullscreen EmpathyCallWindowFullscreen
;
29 typedef struct _EmpathyCallWindowFullscreenClass
30 EmpathyCallWindowFullscreenClass
;
32 struct _EmpathyCallWindowFullscreenClass
{
33 GObjectClass parent_class
;
36 struct _EmpathyCallWindowFullscreen
{
38 gboolean is_fullscreen
;
39 GtkWidget
*leave_fullscreen_button
;
42 GType
empathy_call_window_fullscreen_get_type (void);
45 #define EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN \
46 (empathy_call_window_fullscreen_get_type ())
47 #define EMPATHY_CALL_WINDOW_FULLSCREEN(obj) \
48 (G_TYPE_CHECK_INSTANCE_CAST((obj), EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN, \
49 EmpathyCallWindowFullscreen))
50 #define EMPATHY_CALL_WINDOW_FULLSCREEN_CLASS(klass) \
51 (G_TYPE_CHECK_CLASS_CAST((klass), EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN, \
52 EmpathyCallWindowClassFullscreen))
53 #define EMPATHY_IS_CALL_WINDOW_FULLSCREEN(obj) \
54 (G_TYPE_CHECK_INSTANCE_TYPE((obj), EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN))
55 #define EMPATHY_IS_CALL_WINDOW_FULLSCREEN_CLASS(klass) \
56 (G_TYPE_CHECK_CLASS_TYPE((klass), EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN))
57 #define EMPATHY_CALL_WINDOW_FULLSCREEN_GET_CLASS(obj) \
58 (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN, \
59 EmpathyCallWindowFullscreenClass))
61 EmpathyCallWindowFullscreen
*empathy_call_window_fullscreen_new (
62 EmpathyCallWindow
*parent
);
64 void empathy_call_window_fullscreen_set_fullscreen (
65 EmpathyCallWindowFullscreen
*fs
,
66 gboolean set_fullscreen
);
67 void empathy_call_window_fullscreen_set_video_widget (
68 EmpathyCallWindowFullscreen
*fs
,
69 GtkWidget
*video_widget
);
70 void empathy_call_window_fullscreen_show_popup (
71 EmpathyCallWindowFullscreen
*fs
);
75 #endif /* #ifndef __EMPATHY_CALL_WINDOW_FULLSCREEN_H__*/