5 /* vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: */
8 * Virtual folder plugin for claws-mail
9 * Claws Mail is Copyright (C) 1999-2012 by the Claws Mail Team
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.
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.
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/>.
26 #ifndef __VFOLDER_GTK_H__
27 #define __VFOLDER_GTK_H__
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
;
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
);
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
);