]> git.0d.be Git - empathy.git/blob - src/empathy-call-window-fullscreen.h
Updated Polish translation
[empathy.git] / src / empathy-call-window-fullscreen.h
1 /*
2  * empathy-call-window-fullscreen.h - Header for EmpathyCallWindowFullscreen
3  * Copyright (C) 2009 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 #include <glib-object.h>
24 #include <gtk/gtk.h>
25
26 #include "empathy-call-window.h"
27
28 G_BEGIN_DECLS
29
30 typedef struct _EmpathyCallWindowFullscreen EmpathyCallWindowFullscreen;
31 typedef struct _EmpathyCallWindowFullscreenClass
32     EmpathyCallWindowFullscreenClass;
33
34 struct _EmpathyCallWindowFullscreenClass {
35   GObjectClass parent_class;
36 };
37
38 struct _EmpathyCallWindowFullscreen {
39   GObject parent;
40   gboolean is_fullscreen;
41   GtkWidget *leave_fullscreen_button;
42 };
43
44 GType empathy_call_window_fullscreen_get_type (void);
45
46 /* TYPE MACROS */
47 #define EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN \
48   (empathy_call_window_fullscreen_get_type ())
49 #define EMPATHY_CALL_WINDOW_FULLSCREEN(obj) \
50   (G_TYPE_CHECK_INSTANCE_CAST((obj), EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN, \
51     EmpathyCallWindowFullscreen))
52 #define EMPATHY_CALL_WINDOW_FULLSCREEN_CLASS(klass) \
53   (G_TYPE_CHECK_CLASS_CAST((klass), EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN, \
54     EmpathyCallWindowClassFullscreen))
55 #define EMPATHY_IS_CALL_WINDOW_FULLSCREEN(obj) \
56   (G_TYPE_CHECK_INSTANCE_TYPE((obj), EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN))
57 #define EMPATHY_IS_CALL_WINDOW_FULLSCREEN_CLASS(klass) \
58   (G_TYPE_CHECK_CLASS_TYPE((klass), EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN))
59 #define EMPATHY_CALL_WINDOW_FULLSCREEN_GET_CLASS(obj) \
60   (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN, \
61     EmpathyCallWindowFullscreenClass))
62
63 EmpathyCallWindowFullscreen *empathy_call_window_fullscreen_new (
64     EmpathyCallWindow *parent);
65
66 void empathy_call_window_fullscreen_set_fullscreen (
67     EmpathyCallWindowFullscreen *fs,
68     gboolean set_fullscreen);
69 void empathy_call_window_fullscreen_set_video_widget (
70     EmpathyCallWindowFullscreen *fs,
71     GtkWidget *video_widget);
72 void empathy_call_window_fullscreen_show_popup (
73     EmpathyCallWindowFullscreen *fs);
74
75 G_END_DECLS
76
77 #endif /* #ifndef __EMPATHY_CALL_WINDOW_FULLSCREEN_H__*/