00001 /* 00002 * This file is part of liberipc. 00003 * 00004 * liberipc 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 * liberipc 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 00024 /* liberipc - A library to enable IPC on the eReader platform 00025 * Copyright (C) 2005 iRex Technologies B.V. 00026 * All rights reserved. 00027 * 00028 */ 00029 00030 #ifndef _ERIPCCONNECT_H_ 00031 #define _ERIPCCONNECT_H_ 00032 00033 #include "eripcclient.h" 00034 00035 #ifdef __cplusplus 00036 extern "C" { 00037 #endif /* __cplusplus */ 00038 00039 typedef enum 00040 { 00041 ccCnGotoPage = 0, 00042 ccCnToolbar, 00043 ccCnToolbarSync, 00044 ccCnUndefined 00045 } eCcCn; 00046 00047 00048 int cnParseCommand(char *szCommand, erIpcCmd_t *pCmd); 00049 00059 int cnSignal(erClientChannel_t channel, int uaID, int signal); 00060 00070 int cnGotoPage(erClientChannel_t channel, int page); 00071 00072 00073 #ifdef __cplusplus 00074 } 00075 #endif /* __cplusplus */ 00076 00077 #endif /* _ERIPCCONNECT_H */ 00078