/* $Id: folder.h,v 1.1 2011/02/23 14:36:25 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.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); char const * folder_get_name(Folder * folder); GtkListStore * folder_get_messages(Folder * folder); FolderType folder_get_type(Folder * folder); void folder_set_type(Folder * folder, FolderType type); #endif /* !MAILER_SRC_MAILER_H */