2 * Copyright (C) 2007, Carlos Garcia Campos <carlosgc@gnome.org>
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)
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.
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
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 #ifndef EV_OPEN_RECENT_ACTION_H
21 #define EV_OPEN_RECENT_ACTION_H
23 #include <gtk/gtkaction.h>
24 #include <gtk/gtkmenutoolbutton.h>
28 #define EV_TYPE_OPEN_RECENT_ACTION (ev_open_recent_action_get_type ())
29 #define EV_OPEN_RECENT_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_OPEN_RECENT_ACTION, EvOpenRecentAction))
30 #define EV_OPEN_RECENT_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_OPEN_RECENT_ACTION, EvOpenRecentActionClass))
31 #define EV_IS_OPEN_RECENT_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_OPEN_RECENT_ACTION))
32 #define EV_IS_OPEN_RECENT_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EV_TYPE_OPEN_RECENT_ACTION))
33 #define EV_OPEN_RECENT_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EV_TYPE_OPEN_RECENT_ACTION, EvOpenRecentActionClass))
35 typedef struct _EvOpenRecentAction EvOpenRecentAction;
36 typedef struct _EvOpenRecentActionClass EvOpenRecentActionClass;
38 struct _EvOpenRecentAction {
42 struct _EvOpenRecentActionClass {
43 GtkActionClass parent_class;
45 void (* item_activated) (EvOpenRecentAction *action,
49 GType ev_open_recent_action_get_type (void) G_GNUC_CONST;
53 #endif /* EV_OPEN_RECENT_ACTION_H */