00001 /* 00002 * This file is part of connectionMgr. 00003 * 00004 * connectionMgr 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 * connectionMgr 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 00026 #ifndef __EREADER_TOOLBAR_H__ 00027 #define __EREADER_TOOLBAR_H__ 00028 00029 #ifdef __cplusplus 00030 extern "C" 00031 { 00032 #endif /* __cplusplus */ 00033 00034 // Init toolbar (open communication channel) 00035 void toolbar_init(void); 00036 00037 void toolbar_disableUpdate(); 00038 00039 void toolbar_enableUpdate(); 00040 00041 // Change state of a toolbar icon 00042 void toolbar_setIconState(int iconID, int iconState); 00043 00044 void toolbar_synchronise(void); 00045 00046 #ifdef __cplusplus 00047 } 00048 #endif //* __cplusplus */ 00049 00050 #endif //__EREADER_TOOLBAR_H__ 00051