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

  1. #define TIMER_OPH
  2.  
  3. #ifndef APPMAN_OPH
  4. #include <sdk\appman>
  5. #endif
  6.  
  7. /* Property of timer */
  8.  
  9. STRUCT PR_TIMER
  10.     root#(SIZEOF(PRS_ROOT))
  11.     active#(SIZEOF(PRS_ACTIVE))
  12. ENDS
  13.  
  14. /* Property of buzsnd */
  15.  
  16. STRUCT PRS_BUZSND
  17.     snd%
  18.     sndrep%
  19.     sndnum%
  20.     snddelay%
  21.     sndvolume%
  22.     h_done%
  23.     m_done%
  24. ENDS
  25.  
  26. STRUCT PR_BUZSND
  27.     root#(SIZEOF(PRS_ROOT))
  28.     active#(SIZEOF(PRS_ACTIVE))
  29.     buzsnd#(SIZEOF(PRS_BUZSND))
  30. ENDS
  31.  
  32. /* Constants for alarr */
  33.  
  34. #define ALARR_GRAN 8
  35.  
  36. /* Property of alarr */
  37.  
  38. STRUCT PRS_ALARR
  39.     rec#(SIZEOF(RC_VAXVAR))
  40. ENDS
  41.  
  42. STRUCT PR_ALARR
  43.     root#(SIZEOF(PRS_ROOT))
  44.     varoot#(SIZEOF(PRS_VAROOT))
  45.     vafix#(SIZEOF(PRS_VAFIX))
  46.     vaflat#(SIZEOF(PRS_VAFLAT))
  47.     alarr#(SIZEOF(PRS_ALARR))
  48. ENDS
  49.  
  50. /* Types for animator */
  51.  
  52. STRUCT IN_ANIMATOR
  53.     own%
  54.     message%
  55.     interval%
  56.     first%
  57. ENDS
  58.  
  59. /* Property of animator */
  60.  
  61. STRUCT PRS_ANIMATOR
  62.     own%
  63.     message%
  64.     interval%
  65. ENDS
  66.  
  67. STRUCT PR_ANIMATOR
  68.     root#(SIZEOF(PRS_ROOT))
  69.     active#(SIZEOF(PRS_ACTIVE))
  70.     animator#(SIZEOF(PRS_ANIMATOR))
  71. ENDS
  72.