Initial import of ephy (rev# 7126) from svn
[ephy-soc.git] / src / pdm-dialog.h
blobe9077891dda9bb0aafc9b42d946435e8ad1a23bf
1 /*
2 * Copyright © 2002 Jorn Baayen
3 * Copyright © 2003 Marco Pesenti Gritti
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, or (at your option)
8 * 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: pdm-dialog.h 6952 2007-03-11 19:42:02Z chpe $
22 #ifndef PDM_DIALOG_H
23 #define PDM_DIALOG_H
25 #include "ephy-dialog.h"
26 #include <glib.h>
28 G_BEGIN_DECLS
30 #define EPHY_TYPE_PDM_DIALOG (pdm_dialog_get_type ())
31 #define EPHY_PDM_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_PDM_DIALOG, PdmDialog))
32 #define EPHY_PDM_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_PDM_DIALOG, PdmDialogClass))
33 #define EPHY_IS_PDM_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_PDM_DIALOG))
34 #define EPHY_IS_PDM_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_PDM_DIALOG))
35 #define EPHY_PDM_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_PDM_DIALOG, PdmDialogClass))
37 typedef struct PdmDialog PdmDialog;
38 typedef struct PdmDialogClass PdmDialogClass;
39 typedef struct PdmDialogPrivate PdmDialogPrivate;
41 struct PdmDialog
43 EphyDialog parent;
45 /*< private >*/
46 PdmDialogPrivate *priv;
49 struct PdmDialogClass
51 EphyDialogClass parent_class;
54 GType pdm_dialog_get_type (void);
56 void pdm_dialog_open (PdmDialog *dialog,
57 const char *host);
59 G_END_DECLS
61 #endif