	IFND SYSTEM_SYSOBJECT_I
SYSTEM_SYSOBJECT_I  SET  1

**
**	$VER: sysobject.i V1.0
**
**	(C) Copyright 1996-1998 DreamWorld Productions.
**	    All Rights Reserved
**

	IFND	DPKERNEL_I
	include	'dpkernel/dpkernel.i'
	ENDC

******************************************************************************
* The SysObject structure.

VER_SYSOBJECT  = 1
TAGS_SYSOBJECT = ((ID_SPCTAGS<<16)|ID_SYSOBJECT)

   STRUCTURE	SysObject,HEAD_SIZEOF
	APTR	SO_Prev          ;Previous object in the list.
	APTR	SO_Next          ;Next object in the list.
	WORD	SO_ObjectID      ;ID for the object (eg ID_PICTURE, ID_HIDDEN).
	WORD	SO_ClassID       ;ID for the class.
	APTR	SO_Name          ;String pointer to the name of this object.
	APTR	SO_CopyToUnv     ;> Copy to universe.
	APTR	SO_CopyFromUnv   ;> Copy from universe.
	APTR	SO_CheckFile     ;> Check for file recognition.
	APTR	SO_Load          ;> Load a file that belongs to this object.
	APTR	SO_Show          ;> Make an object visible to the user.
	APTR	SO_Get           ;> Get object.
	APTR	SO_Free          ;> Free object.
	APTR	SO_Init          ;> Initialise object.
	APTR	SO_Read          ;> Read some data from the object.
	APTR	SO_Write         ;> Write some data to the object.
	APTR	SO_Rename        ;> Rename an object.
	APTR	SO_Hide          ;> Hide/Remove the object from the display.
	APTR	SO_yy03          ;>
	APTR	SO_SaveToFile    ;> Save this entire object as a file.
	APTR	SO_Query         ;> Query the information held on this object.
	APTR	SO_Activate      ;> Perform the native action for this object.
	APTR	SO_Deactivate    ;> End the native action for this object.
	APTR	SO_Draw          ;> Draw an object inside its container.
	APTR	SO_Clear         ;> Clear an object from its container.
	APTR	SO_Reset         ;> Reset the object.
	APTR	SO_Flush         ;> Flush any buffered data in the object.
	APTR	SO_TagTrigger    ;> Special routine handled by TagInit().
	APTR	SO_Master        ;Reference to master if this is a child.
	APTR	SO_yy00          ;>
	APTR	SO_Unlock        ;> Unlock an object.
	APTR	SO_DetachParent  ;> Detach a parent from a child.
	APTR	SO_DetachChild   ;> Detach a child from a parent.
	APTR	SO_Unhook        ;> Unhook an object from a chain.
	APTR	SO_MoveToBack    ;> Move the position of an object to the back.
	APTR	SO_MoveToFront   ;> Move the position of an object to the back.
	APTR	SO_FileExtension ;Pointer to the file extension string.
	APTR	SO_FileDesc      ;Pointer to a description of the file type.
	APTR	SO_Copy          ;>
	APTR	SO_Lock          ;>
	APTR	SO_Seek          ;>
	APTR	SO_AttemptExclusive ;>
	APTR	SO_yy01          ;>
	APTR	SO_FreeExclusive ;>

SOA_CopyToUnv        = TAPTR|SO_CopyToUnv
SOA_CopyFromUnv      = TAPTR|SO_CopyFromUnv
SOA_CheckFile        = TAPTR|SO_CheckFile
SOA_Load             = TAPTR|SO_Load
SOA_Show             = TAPTR|SO_Show
SOA_Get              = TAPTR|SO_Get
SOA_Free             = TAPTR|SO_Free
SOA_Init             = TAPTR|SO_Init
SOA_Read             = TAPTR|SO_Read
SOA_Write            = TAPTR|SO_Write
SOA_Rename           = TAPTR|SO_Rename
SOA_Hide             = TAPTR|SO_Hide
SOA_yy03             = TAPTR
SOA_SaveToFile       = TAPTR|SO_SaveToFile
SOA_Query            = TAPTR|SO_Query
SOA_Activate         = TAPTR|SO_Activate
SOA_Deactivate       = TAPTR|SO_Deactivate
SOA_Draw             = TAPTR|SO_Draw
SOA_Clear            = TAPTR|SO_Clear
SOA_Reset            = TAPTR|SO_Reset
SOA_Flush            = TAPTR|SO_Flush
SOA_TagTrigger       = TAPTR|SO_TagTrigger
SOA_yy00	     = TAPTR
SOA_Unlock	     = TAPTR|SO_Unlock
SOA_DetachParent     = TAPTR|SO_DetachParent
SOA_DetachChild      = TAPTR|SO_DetachChild
SOA_Unhook           = TAPTR|SO_Unhook
SOA_MoveToBack       = TAPTR|SO_MoveToBack
SOA_MoveToFront      = TAPTR|SO_MoveToFront
SOA_FileExtension    = TAPTR|SO_FileExtension
SOA_FileDesc         = TAPTR|SO_FileDesc
SOA_Copy             = TAPTR|SO_Copy
SOA_Lock             = TAPTR|SO_Lock
SOA_Seek             = TAPTR|SO_Seek
SOA_AttemptExclusive = TAPTR|SO_AttemptExclusive
SOA_yy01             = TAPTR
SOA_FreeExclusive    = TAPTR|SO_FreeExclusive

  ENDC	;SYSTEM_SYSOBJECT_I
