Initial import of ephy (rev# 7126) from svn
[ephy-soc.git] / src / ephy-fullscreen-popup.h
blob5919bb60b41e1a829d7dd18918798539912799f5
1 /*
2 * Copyright © 2000-2004 Marco Pesenti Gritti
3 * Copyright © 2003-2005 Christian Persch
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program 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
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 * $Id: ephy-fullscreen-popup.h 6952 2007-03-11 19:42:02Z chpe $
22 #ifndef EPHY_FULLSCREEN_POPUP_H
23 #define EPHY_FULLSCREEN_POPUP_H
25 #include <gtk/gtkwindow.h>
26 #include "ephy-window.h"
28 G_BEGIN_DECLS
30 #define EPHY_TYPE_FULLSCREEN_POPUP (ephy_fullscreen_popup_get_type ())
31 #define EPHY_FULLSCREEN_POPUP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_FULLSCREEN_POPUP, EphyFullscreenPopup))
32 #define EPHY_FULLSCREEN_POPUP_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_FULLSCREEN_POPUP, EphyFullscreenPopupClass))
33 #define EPHY_IS_FULLSCREEN_POPUP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_FULLSCREEN_POPUP))
34 #define EPHY_IS_FULLSCREEN_POPUP_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_FULLSCREEN_POPUP))
35 #define EPHY_FULLSCREEN_POPUP_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_FULLSCREEN_POPUP, EphyFullscreenPopupClass))
37 typedef struct _EphyFullscreenPopup EphyFullscreenPopup;
38 typedef struct _EphyFullscreenPopupPrivate EphyFullscreenPopupPrivate;
39 typedef struct _EphyFullscreenPopupClass EphyFullscreenPopupClass;
41 struct _EphyFullscreenPopup
43 GtkWindow parent_instance;
45 /*< private >*/
46 EphyFullscreenPopupPrivate *priv;
49 struct _EphyFullscreenPopupClass
51 GtkWindowClass parent_class;
53 void (* exit_clicked) (EphyFullscreenPopup *popup);
54 void (* lock_clicked) (EphyFullscreenPopup *popup);
57 GType ephy_fullscreen_popup_get_type (void);
59 GtkWidget *ephy_fullscreen_popup_new (EphyWindow *window);
61 void ephy_fullscreen_popup_set_show_leave (EphyFullscreenPopup *popup,
62 gboolean show_button);
64 void ephy_fullscreen_popup_set_spinning (EphyFullscreenPopup *popup,
65 gboolean spinning);
67 void ephy_fullscreen_popup_set_security_state (EphyFullscreenPopup *popup,
68 gboolean show_lock,
69 const char *stock,
70 const char *tooltip);
72 G_END_DECLS
74 #endif /* !EPHY_FULLSCREEN_POPUP_H */