@ GNU AS assembler header file for ExtEdit
@ Written by DefMod (Dec  9 2012) on Sun Dec  9 15:48:23 2012
@ Tom Hughes, tom@compton.nu, 28 Oct 2001

@ OSLib---efficient, type-safe, transparent, extensible,
@ register-safe API coverage of RISC OS
@ 
@ Copyright (c) 1994-2012 Jonathan Coxhead and OSLib maintainers
@ 
@ Licence:
@ 
@    OSLib is free software; you can redistribute it and/or modify
@ it under the terms of the GNU General Public License as published by
@ the Free Software Foundation; either version 1, or (at your option)
@ any later version - and this with the following clarification and
@ special exception:
@ 
@    Linking this library statically or dynamically with other modules
@ is making a combined work based on this library. Thus, the terms
@ and conditions of the GNU General Public License cover the whole
@ combination.
@ 
@    As a special exception, the copyright holders of this library
@ give you permission to link this library with independent modules
@ to produce an executable, regardless of the license terms of these
@ independent modules, and to copy and distribute the resulting
@ executable under terms of your choice, provided that you also meet,
@ for each linked independent module, the terms and conditions of the
@ license of that module. An independent module is a module which is
@ not derived from or based on this library. If you modify this
@ library, you may extend this exception to your version of the library,
@ but you are not obliged to do so. If you do not wish to do so, delete
@ this exception statement from your version.
@ 
@    OSLib is distributed in the hope that it will be useful,
@ but WITHOUT ANY WARRANTY; without even the implied warranty of
@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@ GNU General Public License for more details.
@ 
@    You should have received a copy of the GNU General Public License
@ along with this programme; if not, write to the Free Software
@ Foundation, Inc, 675 Mass Ave, Cambridge, MA 02139, USA.

#ifndef ExtEdit_Hdr
#  define ExtEdit_Hdr

#  ifndef Get_Types
#    define Get_Types
#    include "oslib/Types.Hdr"
#  endif

@Symbols for constants
#  define Message_ExtEditRq 0x45d80
#  define Message_ExtEditAck 0x45d81
#  define Message_ExtEditReturn 0x45d82
#  define Message_ExtEditAbort 0x45d83
#  define Message_ExtEditDataSave 0x45d84
#  define Message_ExtEditCursor 0x45d85
#  define ExtEdit_FileType 0xffff
#  define ExtEdit_SubType 0xffff0000
#  define ExtEdit_SubTypeShift 0x10
#  define ExtEdit_ClientHandle 0xffff
#  define ExtEdit_EditorHandle 0xffff0000
#  define ExtEdit_EditorHandleShift 0x10
#  define ExtEdit_ContinueEditing 0x1
#  define ExtEdit_SelectionOnly 0x2
#  define ExtEdit_ReadOnly 0x4
#  define ExtEdit_ImmediateExecution 0x8
#  define ExtEdit_AdjustSelection 0x10
#  define ExtEdit_BeforeStart 0x0
#  define ExtEdit_AfterEnd 0xfffffffe
#  define ExtEdit_NoChange 0xffffffff

@Symbols for structure offsets and sizes
        .struct 0
        .skip   Bits
ExtEdit_DataType               : 

        .struct 0
        .skip   Bits
ExtEdit_JobHandle              : 

        .struct 0
        .skip   Bits
ExtEdit_Flags                  : 

        .struct 0
ExtEdit_MessageRq_data_type    : .skip   ExtEdit_DataType
ExtEdit_MessageRq_job_handle   : .skip   ExtEdit_JobHandle
ExtEdit_MessageRq_flags        : .skip   ExtEdit_Flags
ExtEdit_MessageRq_parent_name  : .skip   20*Char
ExtEdit_MessageRq_leaf_name    : .skip   204*Char
ExtEdit_MessageRq              : 

        .struct 0
ExtEdit_MessageAck_data_type   : .skip   ExtEdit_DataType
ExtEdit_MessageAck_job_handle  : .skip   ExtEdit_JobHandle
ExtEdit_MessageAck_flags       : .skip   ExtEdit_Flags
ExtEdit_MessageAck             : 

        .struct 0
ExtEdit_MessageReturn_data_type: .skip   ExtEdit_DataType
ExtEdit_MessageReturn_job_handle: .skip   ExtEdit_JobHandle
ExtEdit_MessageReturn_flags    : .skip   ExtEdit_Flags
ExtEdit_MessageReturn          : 

        .struct 0
ExtEdit_MessageAbort_reserved  : .skip   4*Byte
ExtEdit_MessageAbort_job_handle: .skip   ExtEdit_JobHandle
ExtEdit_MessageAbort           : 

        .struct 0
ExtEdit_MessageDataSave_job_handle: .skip   ExtEdit_JobHandle
ExtEdit_MessageDataSave_reserved: .skip   12*Byte
ExtEdit_MessageDataSave_est_size: .skip   Int
ExtEdit_MessageDataSave_file_type: .skip   Bits
ExtEdit_MessageDataSave_file_name: .skip   212*Char
ExtEdit_MessageDataSave        : 

        .struct 0
ExtEdit_MessageCursor_reserved : .skip   4*Byte
ExtEdit_MessageCursor_job_handle: .skip   ExtEdit_JobHandle
ExtEdit_MessageCursor_flags    : .skip   ExtEdit_Flags
ExtEdit_MessageCursor_new_cursor_pos: .skip   Int
ExtEdit_MessageCursor_new_sos_pos: .skip   Int
ExtEdit_MessageCursor_new_eos_pos: .skip   Int
ExtEdit_MessageCursor_old_cursor_pos: .skip   Int
ExtEdit_MessageCursor_old_sos_pos: .skip   Int
ExtEdit_MessageCursor_old_eos_pos: .skip   Int
ExtEdit_MessageCursor          : 


#endif
