00001 /* 00002 * This file is part of scribble. 00003 * 00004 * scribble 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 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * scribble 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 */ 00017 00023 // 00024 // C Interface: FileManager 00025 // 00026 // Description: 00027 //It response for generating the directory structure and filename 00028 //for saving/loading scribble. the upper package need no 00029 //knowledge about the directory information and the filenames 00030 //rule for scribble, so the manifest file is maintained by //filemanager. but because some file save/load is invoking the 00031 //lib function of gtk(such as gdk_pixbuf_new_from_file), so this //package does not elimilate all the requirement for file 00032 //operation. 00033 // 00034 // 00035 // Author: jianshen , (C) 2006 00036 // 00037 // Copyright: See COPYING file that comes with this distribution 00038 // 00039 // 00040 #ifndef _FILEMGR_PAGE_H 00041 #define _FILEMGR_PAGE_H 00042 00043 00044 #ifdef __cplusplus 00045 extern "C" 00046 { 00047 #endif 00048 00049 00050 int getUniqNameForSCRIB(PFileManager pFM); 00051 00052 void setCurrentPageDirty(PFileManager pFM,gboolean bDirty); 00053 00054 int deleteRelatedFiles(PFileManager pFM,ScribPage *pScribPage); 00055 00056 int insertNewPageAfterCurr(PFileManager pFM); 00057 00058 00059 #ifdef __cplusplus 00060 } 00061 #endif 00062 00063 #endif
1.5.6