home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / psion / opp16f_zip / INCLUDE / SDK / HASRV.OPH < prev    next >
Encoding:
Text File  |  1995-12-21  |  822 b   |  35 lines

  1. /* Alarm server constants */
  2.  
  3. #define HASRV_OPH
  4.  
  5. #ifndef P_FILE_OPH
  6. #include <p\file>
  7. #endif
  8.  
  9. #define TypeTimedAlarm 1   /* Timed diary type alarm */
  10. #define TypeUnTimedAlarm 2 /* Untimed diary type alarm */
  11. #define OldMaxAlarmText 65 /* S3 Maximum size of alarm text including zts */
  12. #define MaxAlarmText 161   /* Maximum size of alarm text including zts */
  13.  
  14. /* ALM: i/o functions as well as P_FCLOSE and P_FCANCEL */
  15.  
  16. #define A_FUNTIMED P_FREAD
  17. #define A_FTIMED P_FWRITE
  18. #define A_FUNTIMED_X P_FSEEK
  19. #define A_FTIMED_X P_FSETEOF
  20.  
  21. #define TIME_TO_ALERT 0  /* First time is when to raise the alert */
  22. #define TIME_EVENT_DUE 1 /* Second time is when the actual event is due */
  23.  
  24. STRUCT SE_SND
  25.     len#
  26.     name#(8)
  27.     zero_term#
  28. ENDS
  29.  
  30. STRUCT AXDATA
  31.     absTime&
  32.     dueTime&
  33.     sound#(SIZEOF(SE_SND))
  34. ENDS
  35.