2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2003 Hiroyuki Yamamoto & The Sylpheed Claws Team
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 of the License, or
8 * (at your option) any later version.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 #include <gtk/gtkitemfactory.h>
26 #include "mainwindow.h"
27 #include "messageview.h"
33 ACTION_PIPE_IN = 1 << 1,
34 ACTION_PIPE_OUT = 1 << 2,
35 ACTION_SINGLE = 1 << 3,
36 ACTION_MULTIPLE = 1 << 4,
37 ACTION_ASYNC = 1 << 5,
38 ACTION_USER_IN = 1 << 6,
39 ACTION_USER_HIDDEN_IN = 1 << 7,
40 ACTION_INSERT = 1 << 8,
41 ACTION_USER_STR = 1 << 9,
42 ACTION_USER_HIDDEN_STR = 1 << 10,
43 ACTION_SELECTION_STR = 1 << 11,
44 ACTION_FILTERING_ACTION = 1 << 12,
45 ACTION_ERROR = 1 << 30
48 ActionType action_get_type (const gchar *action_str);
50 void actions_execute (gpointer data,
55 void action_update_mainwin_menu (GtkItemFactory *ifactory,
58 void action_update_msgview_menu (GtkItemFactory *ifactory,
60 MessageView *msgview);
61 void action_update_compose_menu (GtkItemFactory *ifactory,
65 #endif /* __ACTION_H__ */