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 #ifndef _SCRIBBLEUI_H 00024 #define _SCRIBBLEUI_H 00025 00026 #ifdef __cplusplus 00027 extern "C" 00028 { 00029 #endif 00030 00031 #include "ScribbleDefine.h" 00032 00033 void jump_to_page (PScribbleUICtx pScribbleUICtx); 00034 00035 //reset current page and then jump to it 00036 void resetCurrentPage(PScribbleUICtx pScribbleUICtx, 00037 const int iNewCurrPageNum); 00038 00039 //for adding one page 00040 gboolean addOnepage(PScribbleUICtx pScribbleUICtx); 00041 00042 //for deleting one page 00043 gboolean delOnepage(PScribbleUICtx pScribbleUICtx); 00044 00045 //exit main thread and save-thread. 00046 void exitAllThreads(); 00047 00048 //when scribble quit 00049 void quit (gpointer data); 00050 00051 #ifdef __cplusplus 00052 } 00053 #endif 00054 00055 #endif
1.5.6