/* $Id: folder.h,v 1.5 2012/01/13 11:47:14 khorben Exp $ */ /* Copyright (c) 2011-2012 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); #endif /* !MAILER_SRC_MAILER_H */