00001 /* Copyright 2009 (c) ENSI de Bourges 00002 * 88 boulevard Lahitolle, 18020 Bourges Cedex, France 00003 * 00004 * This program is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 3 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00025 #ifndef __FRAME_SAVING_H 00026 #define __FRAME_SAVING_H 00027 #ifdef __cplusplus 00028 extern "C" { 00029 #endif 00030 #include <glib.h> 00031 00032 #include "frame-common.h" 00033 00034 00035 00047 GKeyFile *frame_to_key_file (frame_t *, guint, guint); 00048 00049 00050 00061 int frame_table_save_to_files (const char *, frame_table_t *); 00062 00063 00064 00077 frame_t *file_to_frame (const char *, guint *, guint *); 00078 00079 00080 00091 int frame_table_load_from_files (const char *, frame_table_t *); 00092 00093 00094 00095 //TODO doc 00096 void save_frames_dialog_show (GtkToolButton *, gpointer); 00097 #ifdef __cplusplus 00098 } 00099 #endif 00100 #endif