00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00026
00027
00028
00029
00030
00031
00032 #ifndef _ERIPCCONTENTLISTER_H_
00033 #define _ERIPCCONTENTLISTER_H_
00034
00035 #include "eripcclient.h"
00036
00037 #ifdef __cplusplus
00038 extern "C" {
00039 #endif
00040
00041 typedef enum {
00042 ccClStore = 0,
00043 ccClMSDiskSetConnected,
00044 ccClGotoPage,
00045 ccClBatteryLow,
00046 ccClToolbarIcon,
00047 ccClStoragePresent,
00048 ccClToolbarSynchronised,
00049 ccClBusyIndicator,
00050 ccClDisplayUpdated,
00051 ccClNewContent,
00052 ccClPenClick,
00053 ccClEnableAudio,
00054 ccClUndefined
00055 } eCcCl;
00056
00057 typedef enum {
00058 ccClBattery_warning = 0,
00059 ccClBattery_shutdown
00060 } eCcClBatteryAction;
00061
00062
00063 int clParseCommand(char *szCommand, erIpcCmd_t *pCmd);
00064
00076 int clStore(erClientChannel_t channel, int uaID, int category, char* itemID, char* itemLocation);
00077
00085 int MSDiskSetConnected(erClientChannel_t channel, int connected);
00086
00094 int clGotoPage(erClientChannel_t channel, int page);
00095
00105 int clBatteryLow(erClientChannel_t channel, eCcClBatteryAction action, int percentage, int time_left);
00106
00115 int clStoragePresent(erClientChannel_t channel, char* storageType, int storagePresent);
00116
00124 int clBusyIndicator(erClientChannel_t channel, eCcBusyState status);
00125
00132 int clDisplayUpdated(erClientChannel_t channel);
00133
00140 int clNewContent(erClientChannel_t channel);
00141
00148 int clPenClick(erClientChannel_t channel);
00149
00157 int clEnableAudio(erClientChannel_t channel, int volume);
00158
00159 #ifdef __cplusplus
00160 }
00161 #endif
00162
00163 #endif //_ERIPCCONTENTLISTER_H_