home *** CD-ROM | disk | FTP | other *** search
/ PSION CD 2 / PsionCDVol2.iso / Programs / 401 / VMEMO.SIS / alarm.oxh (.txt) < prev    next >
Encoding:
EPOC OPL Source  |  1998-11-02  |  1.2 KB  |  42 lines

  1.  
  2.  
  3. rem ALARM.OXH version 1.01
  4. rem Header File for ALARM1.OPX
  5. rem (c)Copyright Otfried Cheong 1998
  6. rem See Readme.txt for conditions of use
  7.  
  8. CONST KAlarmClockOnce& = 0
  9. CONST KAlarmClockNext24hours& = 1
  10. CONST KAlarmClockDaily& = 2
  11. CONST KAlarmClockWeekly& = 3
  12. CONST KAlarmClockWorkday& = 4
  13.  
  14. CONST KAlarmNotSet& = 0
  15. CONST KAlarmSet& = 1
  16. CONST KAlarmDisabled& = 2
  17.  
  18. CONST KAlarmSoundOn& = 0
  19. CONST KAlarmSoundOff& = 1
  20. CONST KAlarmQuietPeriod& = 2
  21.  
  22. CONST KMaxAlarmMessage% = $80
  23. CONST KMaxAlarmSoundName% = $20
  24.  
  25. DECLARE OPX ALARM1,&10000b94,$101
  26.     AlmSetClockAlarm:(alarmNumber&,seconds&,message$,sound$,repeat&) : 1
  27.     AlmAlarmState&:(alarmNumber&) : 2
  28.     AlmAlarmEnable:(aEnable&, alarmNumber&) : 3
  29.     AlmAlarmDelete:(alarmNumber&) : 4
  30.     AlmQuietPeriodCancel: : 5
  31.     AlmQuietPeriodUntil:(dtime&) : 6
  32.     AlmQuietPeriodSet:(minutes&) : 7
  33.     AlmSetAlarmSound:(aEnable&) : 8
  34.     AlmAlarmSoundState&: : 9
  35.     WldFindCity:(cityName$, callbackName$) : 10
  36.     WldSunlight:(cityName$, sunrise&, sunset&, theday&) : 11
  37.     WldHome$: : 12
  38. END DECLARE
  39.  
  40.  
  41.  
  42.