Initial import of ephy (rev# 7126) from svn
[ephy-soc.git] / src / bookmarks / .svn / text-base / ephy-related-action.h.svn-base
blob0dea6840f287b5e085d7b40bc05827abbb739ed5
1 /*
2  *  Copyright © 2003, 2004 Marco Pesenti Gritti
3  *  Copyright © 2003, 2004 Christian Persch
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  *  $Id$
20  */
22 #ifndef EPHY_RELATED_ACTION_H
23 #define EPHY_RELATED_ACTION_H
25 #include "ephy-link.h"
26 #include "ephy-topic-action.h"
28 #include <gtk/gtkactiongroup.h>
29 #include <gtk/gtkuimanager.h>
31 G_BEGIN_DECLS
33 #define EPHY_TYPE_RELATED_ACTION                (ephy_related_action_get_type ())
34 #define EPHY_RELATED_ACTION(obj)                (G_TYPE_CHECK_INSTANCE_CAST ((obj), EPHY_TYPE_RELATED_ACTION, EphyRelatedAction))
35 #define EPHY_RELATED_ACTION_CLASS(klass)        (G_TYPE_CHECK_CLASS_CAST ((klass), EPHY_TYPE_RELATED_ACTION, EphyRelatedActionClass))
36 #define EPHY_IS_RELATED_ACTION(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EPHY_TYPE_RELATED_ACTION))
37 #define EPHY_IS_RELATED_ACTION_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE ((obj), EPHY_TYPE_RELATED_ACTION))
38 #define EPHY_RELATED_ACTION_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_RELATED_ACTION, EphyRelatedActionClass))
40 typedef struct _EphyRelatedAction               EphyRelatedAction;
41 typedef struct _EphyRelatedActionClass          EphyRelatedActionClass;
43 struct _EphyRelatedAction
45         EphyTopicAction parent_instance;
48 struct _EphyRelatedActionClass
50         EphyTopicActionClass parent_class;
53 GType       ephy_related_action_get_type (void);
55 GtkAction * ephy_related_action_new      (EphyLink *link, GtkUIManager *manager, char *name);
57 G_END_DECLS
59 #endif