Updated Spanish translation
[empathy-mirror.git] / src / empathy-call-window-fullscreen.h
blob7e9bd63e57ac25d52896799baa1b9907ff369ec7
1 /*
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__
23 #include <glib-object.h>
24 #include <gtk/gtk.h>
26 #include "empathy-call-window.h"
28 G_BEGIN_DECLS
30 typedef struct _EmpathyCallWindowFullscreen EmpathyCallWindowFullscreen;
31 typedef struct _EmpathyCallWindowFullscreenClass
32 EmpathyCallWindowFullscreenClass;
34 struct _EmpathyCallWindowFullscreenClass {
35 GObjectClass parent_class;
38 struct _EmpathyCallWindowFullscreen {
39 GObject parent;
40 gboolean is_fullscreen;
41 GtkWidget *leave_fullscreen_button;
44 GType empathy_call_window_fullscreen_get_type (void);
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))
63 EmpathyCallWindowFullscreen *empathy_call_window_fullscreen_new (
64 EmpathyCallWindow *parent);
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);
75 G_END_DECLS
77 #endif /* #ifndef __EMPATHY_CALL_WINDOW_FULLSCREEN_H__*/