PhoneNum.h 884 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef __PHONENUM_H
  2. #define __PHONENUM_H
  3. /*****************************************************************/
  4. #include <stm32f10x.h>
  5. #include "NumEdit.h"
  6. #define PHONE_NUM_MAX 100
  7. int SetPhoneNumFile(const char *filename);
  8. int DeltePhoneNum(char *num);
  9. int AddPhoneNum(char *num);
  10. int ChangePhoneNum(char *oldNum,char *newNum);
  11. int CallPhoneNum(char *num);
  12. void CallPhoneShow(int update);
  13. void CallPhoneResponse(void);
  14. void CallPhoneInputNumShow(int update);
  15. void CallPhoneInputNumResponse(void);
  16. void CallPhoneInputNewNumShow(int update);
  17. void CallPhoneInputNewNumResponse(void);
  18. void CallToPhoneNum(int update);
  19. void CallToPhoneNumResponse(void);
  20. extern unsigned char g_ucCallPhonePro;
  21. extern SUT_NUM_EDIT sutNumEdit;
  22. //typedef struct SUT_PHONE_NUM
  23. //{
  24. // char num[13];
  25. // char **PhoneNumber;
  26. //}SUT_PHONE_NUM;
  27. //extern SUT_PHONE_NUM sutPhoneNum;
  28. #endif