2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 #include "datatypes_intern.h"
10 #include <proto/exec.h>
12 /*****************************************************************************
16 AROS_LH1(ULONG
, GetDTTriggerMethodDataFlags
,
19 AROS_LHA(ULONG
, method
, A0
),
23 struct Library
*, DataTypesBase
, 48, DataTypes
)
27 Get the kind of data that may be attached to the stt_Data field in the
28 dtTrigger method body. The data type can be specified by or:ing the
29 method id (within the STMF_METHOD_MASK value) with one of the STMD_
32 STMD_VOID -- stt_Data must be NULL
33 STMD_ULONG -- stt_Data contains an unsigned value
34 STMD_STRPTR -- stt_Data is a pointer to a string
35 STMD_TAGLIST -- stt_Data points to an array of struct TagItem terminated
38 The trigger methods below STM_USER are explicitly handled as described in
39 <datatypes/datatypesclass.h>.
43 method -- dtt_Method ID from struct DTMethod
47 One of the STMD_ identifiers defined in <datatypes/datatypesclass.h>
57 CopyDTTriggerMethods(), FindTriggerMethod()
63 5.8.99 SDuvan implemented
65 *****************************************************************************/
80 case STM_ACTIVATE_FIELD
:
98 return (method
& STMF_DATA_MASK
) != 0 ? method
& STMF_DATA_MASK
: STMD_VOID
;
101 } /* GetDTTriggerMethodDataFlags */