2 * Copyright (C) 2003, 2004 Marco Pesenti Gritti
3 * Copyright (C) 2003, 2004 Christian Persch
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #ifndef EV_NAVIGATION_ACTION_H
22 #define EV_NAVIGATION_ACTION_H
24 #include <gtk/gtkaction.h>
26 #include "ev-history.h"
31 #define EV_TYPE_NAVIGATION_ACTION (ev_navigation_action_get_type ())
32 #define EV_NAVIGATION_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_NAVIGATION_ACTION, EvNavigationAction))
33 #define EV_NAVIGATION_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_NAVIGATION_ACTION, EvNavigationActionClass))
34 #define EV_IS_NAVIGATION_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_NAVIGATION_ACTION))
35 #define EV_IS_NAVIGATION_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EV_TYPE_NAVIGATION_ACTION))
36 #define EV_NAVIGATION_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EV_TYPE_NAVIGATION_ACTION, EvNavigationActionClass))
38 typedef struct _EvNavigationAction EvNavigationAction;
39 typedef struct _EvNavigationActionPrivate EvNavigationActionPrivate;
40 typedef struct _EvNavigationActionClass EvNavigationActionClass;
42 struct _EvNavigationAction
47 EvNavigationActionPrivate *priv;
50 struct _EvNavigationActionClass
52 GtkActionClass parent_class;
54 void (* activate_link) (EvNavigationAction *action,
58 GType ev_navigation_action_get_type (void);
59 void ev_navigation_action_set_history (EvNavigationAction *action,