seltimezone.pp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {$MACRO ON}
  2. (******************************************************************************
  3. *
  4. * Copyright (c) 2000 Palm, Inc. or its subsidiaries.
  5. * All rights reserved.
  6. *
  7. * File: SelTimeZone.h
  8. *
  9. * Release: Palm OS SDK 4.0 (63220)
  10. *
  11. * Description:
  12. * This file defines select time zone structures and routines.
  13. *
  14. * History:
  15. * 03/02/2000 peter Created by Peter Epstein.
  16. * 08/02/2000 kwk Updated APIs to include country code.
  17. * 08/21/2000 kwk Deleted obsolete SelectDaylightSavingAdjustment.
  18. * 11/17/2000 CS Change SelectTimeZone's ioCountryInTimeZoneP parameter
  19. * to ioLocaleInTimeZoneP, (and anyCountry to anyLocale,
  20. * but that doesn't really matter), since CountryType is
  21. * only a UInt8, and this may change someday.
  22. * CS Change GetTimeZoneTriggerText's countryInTimeZone
  23. * parameter to localeInTimeZoneP, since CountryType is
  24. * only a UInt8, and this may change someday.
  25. *
  26. *****************************************************************************)
  27. {$IFNDEF FPC_DOTTEDUNITS}
  28. unit seltimezone;
  29. {$ENDIF FPC_DOTTEDUNITS}
  30. interface
  31. {$IFDEF FPC_DOTTEDUNITS}
  32. uses PalmApi.Palmos, PalmApi.Coretraps, PalmApi.Localemgr;
  33. {$ELSE FPC_DOTTEDUNITS}
  34. uses palmos, coretraps, localemgr;
  35. {$ENDIF FPC_DOTTEDUNITS}
  36. function SelectTimeZone(var ioTimeZoneP: Int16; var ioLocaleInTimeZoneP: LmLocaleType;
  37. {const} titleP: PAnsiChar; showTimes, anyLocale: Boolean): Boolean; syscall sysTrapSelectTimeZone;
  38. implementation
  39. end.