/* $Id: folder.h,v 1.4 2011/11/20 05:18:52 khorben Exp $ */ /* Copyright (c) 2011 Pierre Pronchery */ /* This file is part of DeforaOS Desktop Mailer */ /* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef MAILER_SRC_FOLDER_H # define MAILER_SRC_FOLDER_H # include # include "Mailer/plugin.h" # include "Mailer/folder.h" /* Folder */ /* types */ /* functions */ Folder * folder_new(AccountFolder * folder, FolderType type, char const * name, GtkTreeStore * store, GtkTreeIter * iter); void folder_delete(Folder * folder); /* accessors */ AccountFolder * folder_get_data(Folder * folder); gboolean folder_get_iter(Folder * folder, GtkTreeIter * iter); FolderType folder_get_type(Folder * folder); void folder_set_type(Folder * folder, FolderType type); #endif /* !MAILER_SRC_MAILER_H */