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 00026 /* liberipc - A library to enable IPC on the eReader platform 00027 * Copyright (C) 2005 iRex Technologies B.V. 00028 * All rights reserved. 00029 * 00030 */ 00031 00032 #ifndef _ERIPCBUSYD_H_ 00033 #define _ERIPCBUSYD_H_ 00034 00035 #include "eripcclient.h" 00036 00037 #ifdef __cplusplus 00038 extern "C" { 00039 #endif /* __cplusplus */ 00040 00041 typedef enum { 00042 ccBusySetBusy = 0, 00043 ccBusyUndefined 00044 } eCcBusy; 00045 00046 typedef enum { 00047 ccBusyState_Off = 0, 00048 ccBusyState_Blink, 00049 ccBusyState_On, 00050 ccBusyState_Shutdown, 00051 ccBusyState_Undefined 00052 } eCcBusyState; 00053 00054 int busyParseCommand(char *szCommand, erIpcCmd_t *pCmd); 00055 00056 int busySetBusy(erClientChannel_t channel, eCcBusyState busy); 00057 00058 #ifdef __cplusplus 00059 } 00060 #endif /* __cplusplus */ 00061 00062 #endif