]> git.0d.be Git - empathy.git/blob - src/empathy-call-window-fullscreen.h
Updated Greek translation
[empathy.git] / src / empathy-call-window-fullscreen.h
1 /*
2  * empathy-call-window-fullscreen.h - Header for EmpathyCallWindowFullscreen
3  * Copyright (C) 2009-2011 Collabora Ltd.
4  *
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.
9  *
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.
14  *
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
18  */
19
20 #ifndef __EMPATHY_CALL_WINDOW_FULLSCREEN_H__
21 #define __EMPATHY_CALL_WINDOW_FULLSCREEN_H__
22
23
24 #include "empathy-call-window.h"
25
26 G_BEGIN_DECLS
27
28 typedef struct _EmpathyCallWindowFullscreen EmpathyCallWindowFullscreen;
29 typedef struct _EmpathyCallWindowFullscreenClass
30     EmpathyCallWindowFullscreenClass;
31
32 struct _EmpathyCallWindowFullscreenClass {
33   GObjectClass parent_class;
34 };
35
36 struct _EmpathyCallWindowFullscreen {
37   GObject parent;
38   gboolean is_fullscreen;
39   GtkWidget *leave_fullscreen_button;
40 };
41
42 GType empathy_call_window_fullscreen_get_type (void);
43
44 /* TYPE MACROS */
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))
60
61 EmpathyCallWindowFullscreen *empathy_call_window_fullscreen_new (
62     EmpathyCallWindow *parent);
63
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);
72
73 G_END_DECLS
74
75 #endif /* #ifndef __EMPATHY_CALL_WINDOW_FULLSCREEN_H__*/