1
/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */
3
* Copyright © 2000-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)
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.
21
#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
22
#error "Only <epiphany/epiphany.h> can be included directly."
25
#ifndef EPHY_EMBED_SINGLE_H
26
#define EPHY_EMBED_SINGLE_H
28
#include "ephy-embed.h"
29
#include "ephy-web-view.h"
33
#define EPHY_TYPE_EMBED_SINGLE (ephy_embed_single_get_type ())
34
#define EPHY_EMBED_SINGLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_EMBED_SINGLE, EphyEmbedSingle))
35
#define EPHY_EMBED_SINGLE_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_EMBED_SINGLE, EphyEmbedSingleIface))
36
#define EPHY_IS_EMBED_SINGLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_EMBED_SINGLE))
37
#define EPHY_IS_EMBED_SINGLE_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_EMBED_SINGLE))
38
#define EPHY_EMBED_SINGLE_GET_IFACE(i) (G_TYPE_INSTANCE_GET_INTERFACE ((i), EPHY_TYPE_EMBED_SINGLE, EphyEmbedSingleIface))
40
typedef struct _EphyEmbedSingle EphyEmbedSingle;
41
typedef struct _EphyEmbedSingleClass EphyEmbedSingleClass;
42
typedef struct _EphyEmbedSinglePrivate EphyEmbedSinglePrivate;
44
struct _EphyEmbedSingle {
48
EphyEmbedSinglePrivate *priv;
51
struct _EphyEmbedSingleClass
53
GObjectClass parent_class;
56
GType ephy_embed_single_get_type (void);
58
gboolean ephy_embed_single_initialize (EphyEmbedSingle *single);
60
void ephy_embed_single_clear_cache (EphyEmbedSingle *single);
62
GSList * ephy_embed_single_get_form_auth (EphyEmbedSingle *single,
65
void ephy_embed_single_add_form_auth (EphyEmbedSingle *single,
67
const char *form_username,
68
const char *form_password,
69
const char *username);