; 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 Task Manager constants

OldOpt  SETA    {OPT}
        OPT     OptNoList+OptNoP1List

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

; Date       Name  Description
; ----       ----  -----------
; 17-Jan-92  DDV   File created
; 17-Jan-92  DDV   Added TaskManager_Shutdown SWI and control bits
; 29-Jan-92  DDV   Added shutdownbit_SendShutdowMessage
; 29-Jan-92  DDV   Added shutdownbit_RejectMediaSearch
; 17-May-94  AMcC  Changed to using the preferred SWI base and name symbols

SWIClass        SETS    SwitcherSWI_Name

        ^       SwitcherSWI_Base

        AddSWI  TaskNameFromHandle
        AddSWI  EnumerateTasks
        AddSWI  Shutdown                        ; Switcher 0.60 onwards
        AddSWI  StartTask                       ; Switcher 1.10 onwards

; Flags for Shutdown SWI

shutdownbit_ExitToCommandPrompt * 1:SHL:0
shutdownbit_NoPreQuit           * 1:SHL:1
shutdownbit_ModifyStateCMOS     * 1:SHL:2
shutdownbit_SendShutdownMessage * 1:SHL:3       ; Switcher 0.62 onwards
shutdownbit_RejectMediaSearch   * 1:SHL:4
shutdownbit_ExitAndRestart      * 1:SHL:5       ; Switcher 1.36 onwards
shutdownbit_ExitAndPowerOff     * 1:SHL:6
shutdownbit_NoPostDeskScripts   * 1:SHL:7       ; Switcher 1.37 onwards

        OPT     OldOpt

        END
