aboutsummaryrefslogblamecommitdiffstats
path: root/embed/ephy-embed-dialog.h
blob: 8624c23575692116fc82d216c9b7e77737c392c6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  
                                                      












                                                                        
                                                                                  

        

   



                                                                            







                           
                    


             





                                                                                                                       
 


                                                               
 
                       

                          

                       


                                     
                            


















                                                                                          
/*
 *  Copyright © 2000, 2001, 2002 Marco Pesenti Gritti
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2, or (at your option)
 *  any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 *  $Id$
 */

#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
#error "Only <epiphany/epiphany.h> can be included directly."
#endif

#ifndef EPHY_EMBED_DIALOG_H
#define EPHY_EMBED_DIALOG_H

#include "ephy-embed.h"
#include "ephy-dialog.h"

#include <glib-object.h>
#include <glib.h>
#include <gtk/gtk.h>

G_BEGIN_DECLS

#define EPHY_TYPE_EMBED_DIALOG      (ephy_embed_dialog_get_type ())
#define EPHY_EMBED_DIALOG(o)        (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_EMBED_DIALOG, EphyEmbedDialog))
#define EPHY_EMBED_DIALOG_CLASS(k)  (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_EMBED_DIALOG, EphyEmbedDialogClass))
#define EPHY_IS_EMBED_DIALOG(o)     (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_EMBED_DIALOG))
#define EPHY_IS_EMBED_DIALOG_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_EMBED_DIALOG))
#define EPHY_EMBED_DIALOG_GET_CLASS(o)  (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_EMBED_DIALOG, EphyEmbedDialogClass))

typedef struct _EphyEmbedDialogClass    EphyEmbedDialogClass;
typedef struct _EphyEmbedDialog     EphyEmbedDialog;
typedef struct _EphyEmbedDialogPrivate  EphyEmbedDialogPrivate;

struct _EphyEmbedDialog
{
        EphyDialog parent;

    /*< private >*/
        EphyEmbedDialogPrivate *priv;
};

struct _EphyEmbedDialogClass
{
        EphyDialogClass parent_class;
};

GType           ephy_embed_dialog_get_type      (void);

EphyEmbedDialog        *ephy_embed_dialog_new           (EphyEmbed *embed);

EphyEmbedDialog        *ephy_embed_dialog_new_with_parent   (GtkWidget *parent_window,
                                EphyEmbed *embed);

void            ephy_embed_dialog_set_embed     (EphyEmbedDialog *dialog,
                                 EphyEmbed *embed);

EphyEmbed *     ephy_embed_dialog_get_embed     (EphyEmbedDialog *dialog);

G_END_DECLS

#endif