1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
6 * Copyright (C) 2004 Red Hat, Inc.
7 * Copyright (C) 2003 Marco Pesenti Gritti
9 * Nautilus is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
14 * Nautilus is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 * Based on ephy-navigation-action.h from Epiphany
26 * Authors: Alexander Larsson <alexl@redhat.com>
27 * Marco Pesenti Gritti
31 #ifndef NAUTILUS_NAVIGATION_ACTION_H
32 #define NAUTILUS_NAVIGATION_ACTION_H
34 #include <gtk/gtkaction.h>
36 #define NAUTILUS_TYPE_NAVIGATION_ACTION (nautilus_navigation_action_get_type ())
37 #define NAUTILUS_NAVIGATION_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_NAVIGATION_ACTION, NautilusNavigationAction))
38 #define NAUTILUS_NAVIGATION_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_NAVIGATION_ACTION, NautilusNavigationActionClass))
39 #define NAUTILUS_IS_NAVIGATION_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_NAVIGATION_ACTION))
40 #define NAUTILUS_IS_NAVIGATION_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NAUTILUS_TYPE_NAVIGATION_ACTION))
41 #define NAUTILUS_NAVIGATION_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), NAUTILUS_TYPE_NAVIGATION_ACTION, NautilusNavigationActionClass))
43 typedef struct _NautilusNavigationAction NautilusNavigationAction
;
44 typedef struct _NautilusNavigationActionClass NautilusNavigationActionClass
;
45 typedef struct NautilusNavigationActionPrivate NautilusNavigationActionPrivate
;
49 NAUTILUS_NAVIGATION_DIRECTION_BACK
,
50 NAUTILUS_NAVIGATION_DIRECTION_FORWARD
51 } NautilusNavigationDirection
;
53 struct _NautilusNavigationAction
58 NautilusNavigationActionPrivate
*priv
;
61 struct _NautilusNavigationActionClass
63 GtkActionClass parent_class
;
66 GType
nautilus_navigation_action_get_type (void);