00001 /****************************************************************************** 00002 * Copyright (c) 1999-2008 ACCESS CO., LTD. All rights reserved. 00003 * Copyright (c) 2006 PalmSource, Inc (an ACCESS company). All rights reserved. 00004 *****************************************************************************/ 00012 #ifndef ALP_MOBILE_SPEED_DIAL_H_ 00013 #define ALP_MOBILE_SPEED_DIAL_H_ 00014 00015 00023 /****************************************************************************** 00024 * Includes 00025 *****************************************************************************/ 00026 00027 #include <alp/mobile_call.h> 00028 #include <alp/mobile_services.h> 00029 00030 00031 #ifdef __cplusplus 00032 extern "C" { 00033 #endif // __cplusplus 00034 00035 00036 /****************************************************************************** 00037 * Typedef 00038 *****************************************************************************/ 00039 00040 typedef uint8_t AlpMblSpeedDialIndex; 00041 00042 typedef struct _AlpMblSpeedDialEntry AlpMblSpeedDialEntry; 00043 struct _AlpMblSpeedDialEntry 00044 { 00045 AlpLuid contactLuid; 00046 uint8_t position; 00047 }; 00048 00049 typedef struct _AlpMblSpeedDialList AlpMblSpeedDialList; 00050 struct _AlpMblSpeedDialList 00051 { 00052 size_t count; 00053 AlpMblSpeedDialEntry* listP; 00054 }; 00055 00056 00057 /****************************************************************************** 00058 * Prototype 00059 *****************************************************************************/ 00060 00072 alp_status_t alp_mbl_speed_dial_add(AlpLuid iContactLuid, AlpMblSpeedDialIndex* oIndexP); 00073 00084 alp_status_t alp_mbl_speed_dial_remove(AlpLuid iContactLuid); 00085 00097 alp_status_t alp_mbl_speed_dial_move(AlpLuid iContactLuid, AlpMblSpeedDialIndex iNewIndex); 00098 00142 alp_status_t alp_mbl_speed_dial_get_list(AlpMblSpeedDialList* oSpeedDialListP); 00143 00196 alp_status_t alp_mbl_speed_dial_dial(AlpLuid iContactLuid, AlpMblCallId* oCallIdP); 00197 00209 alp_status_t alp_mbl_speed_dial_video_dial(AlpLuid iContactLuid, AlpMblCallId* oCallIdP); 00210 00213 #ifdef __cplusplus 00214 } 00215 #endif // __cplusplus 00216 00217 00218 #endif // ALP_MOBILE_SPEED_DIAL_H_
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.