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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA..
20 #ifndef EV_OPEN_RECENT_ACTION_H
21 #define EV_OPEN_RECENT_ACTION_H
27 #define EV_TYPE_OPEN_RECENT_ACTION (ev_open_recent_action_get_type ())
28 #define EV_OPEN_RECENT_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_OPEN_RECENT_ACTION, EvOpenRecentAction))
29 #define EV_OPEN_RECENT_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_OPEN_RECENT_ACTION, EvOpenRecentActionClass))
30 #define EV_IS_OPEN_RECENT_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_OPEN_RECENT_ACTION))
31 #define EV_IS_OPEN_RECENT_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EV_TYPE_OPEN_RECENT_ACTION))
32 #define EV_OPEN_RECENT_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EV_TYPE_OPEN_RECENT_ACTION, EvOpenRecentActionClass))
34 typedef struct _EvOpenRecentAction EvOpenRecentAction;
35 typedef struct _EvOpenRecentActionClass EvOpenRecentActionClass;
37 struct _EvOpenRecentAction {
41 struct _EvOpenRecentActionClass {
42 GtkActionClass parent_class;
44 void (* item_activated) (EvOpenRecentAction *action,
48 GType ev_open_recent_action_get_type (void) G_GNUC_CONST;
52 #endif /* EV_OPEN_RECENT_ACTION_H */