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

1 by Sebastien Bacher
Import upstream version 1.9.2
1
/*
1.1.15 by Sebastien Bacher
Import upstream version 2.16.1
2
 *  Copyright © 2004 Christian Persch
1 by Sebastien Bacher
Import upstream version 1.9.2
3
 *
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)
7
 *  any later version.
8
 *
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.
13
 *
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
1.1.24 by Sebastien Bacher
Import upstream version 2.18.1
16
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1 by Sebastien Bacher
Import upstream version 1.9.2
17
 *
18
 */
19
1.1.48 by Gustavo Noronha Silva
Import upstream version 2.28.0
20
#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
21
#error "Only <epiphany/epiphany.h> can be included directly."
22
#endif
23
1 by Sebastien Bacher
Import upstream version 1.9.2
24
#ifndef EPHY_LINK_ACTION_H
25
#define EPHY_LINK_ACTION_H
26
1.7.4 by Jeremy Bicha
Import upstream version 3.3.4.1
27
#include "ephy-window-action.h"
28
1.1.39 by Sebastien Bacher
Import upstream version 2.23.91
29
#include <gtk/gtk.h>
1 by Sebastien Bacher
Import upstream version 1.9.2
30
31
G_BEGIN_DECLS
32
33
#define EPHY_TYPE_LINK_ACTION			(ephy_link_action_get_type ())
34
#define EPHY_LINK_ACTION(o)			(G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_LINK_ACTION, EphyLinkAction))
35
#define EPHY_LINK_ACTION_CLASS(k)		(G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_LINK_ACTION, EphyLinkActionClass))
36
#define EPHY_IS_LINK_ACTION(o)			(G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_LINK_ACTION))
37
#define EPHY_IS_LINK_ACTION_CLASS(k)		(G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_LINK_ACTION))
38
#define EPHY_LINK_ACTION_GET_CLASS(o)		(G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_LINK_ACTION, EphyLinkActionClass))
39
40
#define EPHY_TYPE_LINK_ACTION_GROUP		(ephy_link_action_group_get_type ())
41
#define EPHY_LINK_ACTION_GROUP(o)		(G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_LINK_ACTION_GROUP, EphyLinkActionGroup))
42
#define EPHY_LINK_ACTION_GROUP_CLASS(k)		(G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_LINK_ACTION_GROUP, EphyLinkActionGroupClass))
43
#define EPHY_IS_LINK_ACTION_GROUP(o)		(G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_LINK_ACTION_GROUP))
44
#define EPHY_IS_LINK_ACTION_GROUP_CLASS(k)	(G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_LINK_ACTION_GROUP))
45
#define EPHY_LINK_ACTION_GROUP_GET_CLASS(o)	(G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_LINK_ACTION_GROUP, EphyLinkActionGroupClass))
46
47
typedef struct _EphyLinkAction			EphyLinkAction;
48
typedef struct _EphyLinkActionClass		EphyLinkActionClass;
1.7.4 by Jeremy Bicha
Import upstream version 3.3.4.1
49
typedef struct _EphyLinkActionPrivate		EphyLinkActionPrivate;
1 by Sebastien Bacher
Import upstream version 1.9.2
50
51
typedef struct _EphyLinkActionGroup		EphyLinkActionGroup;
52
typedef struct _EphyLinkActionGroupClass	EphyLinkActionGroupClass;
53
54
struct _EphyLinkAction
55
{
1.7.4 by Jeremy Bicha
Import upstream version 3.3.4.1
56
	EphyWindowAction parent_instance;
57
58
	EphyLinkActionPrivate *priv;
1 by Sebastien Bacher
Import upstream version 1.9.2
59
};
60
61
struct _EphyLinkActionClass
62
{
1.7.4 by Jeremy Bicha
Import upstream version 3.3.4.1
63
	EphyWindowActionClass parent_class;
1 by Sebastien Bacher
Import upstream version 1.9.2
64
};
65
66
struct _EphyLinkActionGroup
67
{
68
	GtkActionGroup parent_instance;
69
};
70
71
struct _EphyLinkActionGroupClass
72
{
73
	GtkActionGroupClass parent_class;
74
};
75
1.7.4 by Jeremy Bicha
Import upstream version 3.3.4.1
76
GType ephy_link_action_get_type	  (void);
77
guint ephy_link_action_get_button (EphyLinkAction *action);
1 by Sebastien Bacher
Import upstream version 1.9.2
78
79
GType ephy_link_action_group_get_type (void);
80
1.1.5 by Sebastien Bacher
Import upstream version 1.9.7
81
EphyLinkActionGroup * ephy_link_action_group_new (const char *name);
1 by Sebastien Bacher
Import upstream version 1.9.2
82
83
G_END_DECLS
84
85
#endif