support image/x-eps format via pdf_viewer
[claws.git] / src / plugins / attachwarner / attachwarner.h
blob7d44ad87260461d71ed0d0da32ecfa5def66c367
1 /*
2 * Claws Mail -- a GTK based, lightweight, and fast e-mail client
3 * Copyright (C) 2006-2023 the Claws Mail Team and Ricardo Mones
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 3 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, see <http://www.gnu.org/licenses/>.
19 #ifndef __ATTACHWARNER_H
20 #define __ATTACHWARNER_H
22 #include <glib.h>
24 #include "version.h"
25 #include "claws.h"
26 #include "plugin.h"
27 #include "utils.h"
28 #include "hooks.h"
29 #include "compose.h"
30 #include "matcher.h"
31 #include "alertpanel.h"
33 struct _AttachWarnerMention {
34 int line;
35 gchar *context;
38 typedef struct _AttachWarnerMention AttachWarnerMention;
40 MatcherProp * new_matcherprop (void);
41 gboolean matcherprop_string_match (MatcherProp *mp, gchar *str);
42 AttachWarnerMention * are_attachments_mentioned (Compose *compose);
43 gboolean does_not_have_attachments (Compose *compose);
45 gint plugin_init (gchar **error);
46 gboolean plugin_done (void);
47 const gchar * plugin_name (void);
48 const gchar * plugin_desc (void);
49 const gchar * plugin_type (void);
50 const gchar * plugin_licence (void);
51 const gchar * plugin_version (void);
52 struct PluginFeature * plugin_provides (void);
54 #endif