~ubuntu-branches/ubuntu/wily/epiphany-browser/wily

« back to all changes in this revision

Viewing changes to embed/ephy-embed-single.h

Tags: upstream-3.10.1
Import upstream version 3.10.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */
2
 
/*
3
 
 *  Copyright © 2000-2003 Marco Pesenti Gritti
4
 
 *
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.
9
 
 *
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.
14
 
 *
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.
18
 
 *
19
 
 */
20
 
 
21
 
#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
22
 
#error "Only <epiphany/epiphany.h> can be included directly."
23
 
#endif
24
 
 
25
 
#ifndef EPHY_EMBED_SINGLE_H
26
 
#define EPHY_EMBED_SINGLE_H
27
 
 
28
 
#include "ephy-embed.h"
29
 
#include "ephy-web-view.h"
30
 
 
31
 
G_BEGIN_DECLS
32
 
 
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))
39
 
 
40
 
typedef struct _EphyEmbedSingle   EphyEmbedSingle;
41
 
typedef struct _EphyEmbedSingleClass    EphyEmbedSingleClass;
42
 
typedef struct _EphyEmbedSinglePrivate  EphyEmbedSinglePrivate;
43
 
 
44
 
struct _EphyEmbedSingle {
45
 
  GObject parent;
46
 
 
47
 
  /*< private >*/
48
 
  EphyEmbedSinglePrivate *priv;
49
 
};
50
 
 
51
 
struct _EphyEmbedSingleClass
52
 
{
53
 
  GObjectClass parent_class;
54
 
};
55
 
 
56
 
GType           ephy_embed_single_get_type           (void);
57
 
 
58
 
gboolean        ephy_embed_single_initialize         (EphyEmbedSingle *single);
59
 
 
60
 
void            ephy_embed_single_clear_cache        (EphyEmbedSingle *single);
61
 
 
62
 
GSList *        ephy_embed_single_get_form_auth      (EphyEmbedSingle *single,
63
 
                                                      const char *uri);
64
 
 
65
 
void            ephy_embed_single_add_form_auth      (EphyEmbedSingle *single,
66
 
                                                      const char *uri,
67
 
                                                      const char *form_username,
68
 
                                                      const char *form_password,
69
 
                                                      const char *username);
70
 
 
71
 
G_END_DECLS
72
 
 
73
 
#endif