2 * Copyright © 2000, 2001, 2002 Marco Pesenti Gritti
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2, or (at your option)
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * $Id: ephy-embed-dialog.h 6952 2007-03-11 19:42:02Z chpe $
21 #ifndef EPHY_EMBED_DIALOG_H
22 #define EPHY_EMBED_DIALOG_H
24 #include "ephy-embed.h"
25 #include "ephy-dialog.h"
27 #include <glib-object.h>
29 #include <gtk/gtkwidget.h>
33 #define EPHY_TYPE_EMBED_DIALOG (ephy_embed_dialog_get_type ())
34 #define EPHY_EMBED_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_EMBED_DIALOG, EphyEmbedDialog))
35 #define EPHY_EMBED_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_EMBED_DIALOG, EphyEmbedDialogClass))
36 #define EPHY_IS_EMBED_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_EMBED_DIALOG))
37 #define EPHY_IS_EMBED_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_EMBED_DIALOG))
38 #define EPHY_EMBED_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_EMBED_DIALOG, EphyEmbedDialogClass))
40 typedef struct _EphyEmbedDialogClass EphyEmbedDialogClass
;
41 typedef struct _EphyEmbedDialog EphyEmbedDialog
;
42 typedef struct _EphyEmbedDialogPrivate EphyEmbedDialogPrivate
;
44 struct _EphyEmbedDialog
49 EphyEmbedDialogPrivate
*priv
;
52 struct _EphyEmbedDialogClass
54 EphyDialogClass parent_class
;
57 GType
ephy_embed_dialog_get_type (void);
59 EphyEmbedDialog
*ephy_embed_dialog_new (EphyEmbed
*embed
);
61 EphyEmbedDialog
*ephy_embed_dialog_new_with_parent (GtkWidget
*parent_window
,
64 void ephy_embed_dialog_set_embed (EphyEmbedDialog
*dialog
,
67 EphyEmbed
* ephy_embed_dialog_get_embed (EphyEmbedDialog
*dialog
);