]> git.datanom.net - vfolder.git/blob - src/vfolder_gtk.h
initial upload
[vfolder.git] / src / vfolder_gtk.h
1 /*
2 * $Id: $
3 */
4
5 /* vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: */
6
7 /*
8 * Virtual folder plugin for claws-mail
9 * Claws Mail is Copyright (C) 1999-2012 by the Claws Mail Team
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program. If not, see <http://www.gnu.org/licenses/>.
23 *
24 */
25
26 #ifndef __VFOLDER_GTK_H__
27 #define __VFOLDER_GTK_H__
28
29 #include <glib.h>
30
31 G_BEGIN_DECLS
32
33 #include "gettext.h"
34 #include "vfolder.h"
35 #include <gtk/gtk.h>
36
37 typedef enum {
38 FOLDER_ITEM_PROPS_OK,
39 FOLDER_ITEM_PROPS_NO_ITEM,
40 FOLDER_ITEM_PROPS_BACKUP_FAIL,
41 FOLDER_ITEM_PROPS_READ_DATA_FAIL,
42 FOLDER_ITEM_PROPS_MAKE_RC_DIR_FAIL,
43 FOLDER_ITEM_PROPS_READ_USING_DEFAULT
44 } FolderPropsResponse;
45
46 gboolean vfolder_gtk_init(gchar** error);
47 void vfolder_gtk_done(void);
48 FolderPropsResponse vfolder_folder_item_props_read(VFolderItem* item);
49 FolderPropsResponse vfolder_folder_item_props_write(VFolderItem* item);
50
51 /* Callback functions */
52 void vfolder_new_folder_cb(GtkAction* action, gpointer data);
53 void vfolder_remove_folder_cb(GtkAction* action, gpointer data);
54 void vfolder_properties_cb(GtkAction* action, gpointer data);
55
56 G_END_DECLS
57
58 #endif
This page took 0.07408 seconds and 6 git commands to generate.