; Copyright 1996 Acorn Computers Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
;     http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
        SUBT    Exported Territory Manager constants

OldOpt  SETA    {OPT}
        OPT     OptNoList+OptNoP1List

; ***********************************
; ***    C h a n g e   L i s t    ***
; ***********************************

; Date       Name         Description
; ----       ----         -----------
; 05-Feb-90  RMokady      Created file
; 07-Mar-91  ENevill      Added dummy defs for new SWIS for testing
; 10-Feb-93  BCockburn    Restored OPT correctly
; 21-Dec-93  BCockburn    Created numbers for the errors!
; 17-May-94  AMcC         Changed to using the preferred SWI base and name symbols
; 12-Oct-94  AMcC         Added SWIs TransformString and ConvertTextToString
;

SWIClass        SETS    TerritorySWI_Name

        ^       TerritorySWI_Base

        AddSWI  Number
        AddSWI  Register
        AddSWI  Deregister
        AddSWI  NumberToName
        AddSWI  Exists
        AddSWI  AlphabetNumberToName
        AddSWI  SelectAlphabet
        AddSWI  SetTime
        AddSWI  ReadCurrentTimeZone
        AddSWI  ConvertTimeToUTCOrdinals
        AddSWI  ReadTimeZones
        AddSWI  ConvertDateAndTime
        AddSWI  ConvertStandardDateAndTime
        AddSWI  ConvertStandardDate
        AddSWI  ConvertStandardTime
        AddSWI  ConvertTimeToOrdinals
        AddSWI  ConvertTimeStringToOrdinals
        AddSWI  ConvertOrdinalsToTime
        AddSWI  Alphabet
        AddSWI  AlphabetIdentifier
        AddSWI  SelectKeyboardHandler
        AddSWI  WriteDirection
        AddSWI  CharacterPropertyTable
        AddSWI  LowerCaseTable
        AddSWI  UpperCaseTable
        AddSWI  ControlTable
        AddSWI  PlainTable
        AddSWI  ValueTable
        AddSWI  RepresentationTable
        AddSWI  Collate
        AddSWI  ReadSymbols
        AddSWI  ReadCalendarInformation
        AddSWI  NameToNumber
        AddSWI  TransformString
        AddSWI  IME
        AddSWI  DaylightRules                  ; &43063

        ^       TerritorySWI_Base + &035

        AddSWI  ConvertTextToString            ; &43075
        AddSWI  Select
        AddSWI  DaylightSaving
        AddSWI  ConvertTimeFormats

WriteDirection_LeftToRight     *  0 :SHL: 0
WriteDirection_RightToLeft     *  1 :SHL: 0
WriteDirection_UpToDown        *  0 :SHL: 1
WriteDirection_DownToUp        *  1 :SHL: 1
WriteDirection_HorizontalLines *  0 :SHL: 2
WriteDirection_VerticalLines   *  1 :SHL: 2

                         ^ 0
Property_Control         #      1
Property_Uppercase       #      1
Property_Lowercase       #      1
Property_Alpha           #      1
Property_Punctuation     #      1
Property_Space           #      1
Property_Digit           #      1
Property_XDigit          #      1
Property_Accented        #      1
Property_ForwardFlow     #      1
Property_BackwardFlow    #      1

Collate_IgnoreCase             *  1 :SHL: 0
Collate_IgnoreAccent           *  1 :SHL: 1
Collate_InterpretCardinals     *  1 :SHL: 2

ReadTimeZones_Extension  *      &454E4F5A

                                   ^ 0
DaylightSaving_ReadDSTState        #   1
DaylightSaving_WriteDSTState       #   1
DaylightSaving_DSTBit              *   1:SHL:0
DaylightSaving_AutoDSTBit          *   1:SHL:1
DaylightSaving_Supported           #   1
DaylightSaving_ApplyRuleToOrdinals #   1
DaylightSaving_ApplyRuleToTime     #   1
DaylightSaving_GetBounds           #   1

                                ^      0
TimeFormats_LocalOrdinals       #      1
TimeFormats_Local5Byte          #      1
TimeFormats_UTCOrdinals         #      1
TimeFormats_UTC5Byte            #      1
TimeFormats_InFormatShift       *      0
TimeFormats_OutFormatShift      *      8
TimeFormats_Flag_DST            *      1:SHL:16
TimeFormats_Flag_NoDST          *      0:SHL:16
TimeFormats_Flag_UseStdIfNoAuto *      1:SHL:17
TimeFormats_Flag_ErrorIfNoAuto  *      0:SHL:17
TimeFormats_Flag_UseAutoDST     *      1:SHL:18
TimeFormats_Flag_SpecifyTZ      *      0:SHL:19
TimeFormats_Flag_SpecifyOffset  *      1:SHL:19

DateAndTime_Flag_DST            *      1:SHL:28
DateAndTime_Flag_NoDST          *      0:SHL:28
DateAndTime_Flag_SpecifyTZ      *      1:SHL:29
DateAndTime_Flag_SpecifyOffset  *      0:SHL:29
DateAndTime_Flag_UseSpecified   *      1:SHL:30
DateAndTime_Flag_UseCurrent     *      0:SHL:30
DateAndTime_Flag_Extension      *      1:SHL:31

                                ^      ErrorBase_TerritoryManager
TerritoryError_UnknownTerritory #      1
TerritoryError_UnknownAlphabet  #      1
TerritoryError_NoTerritory      #      1
TerritoryError_UnknownProperty  #      1
TerritoryError_BadTimeString    #      1
TerritoryError_BadTimeBlock     #      1
TerritoryError_NoMoreZones      #      1
TerritoryError_NoRuleDefined    #      1
TerritoryError_Spare            #      8
                                ASSERT @ <= &1A0

      [ :DEF: TerritoryService  ; Hide this during generation of CLib:swis.h
                                ^      TerritoryService
Service_TimeZoneChanged         #      1
      ]

        OPT     OldOpt

        END

