2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 #define USE_BOOPSI_STUBS
9 #include <proto/intuition.h>
10 #include <intuition/classusr.h>
11 #include <datatypes/datatypesclass.h>
12 #include <clib/boopsistubs.h>
13 #include "datatypes_intern.h"
15 /*****************************************************************************
18 #include <proto/datatypes.h>
20 AROS_LH1(struct DTMethod
*, GetDTTriggerMethods
,
23 AROS_LHA(Object
*, object
, A0
),
26 struct Library
*, DataTypesBase
, 18, DataTypes
)
30 Get a list of the trigger methods an object supports.
34 object -- pointer to a data type object
38 A pointer to a STM_DONE terminated DTMethod list. This list in only valid
39 until the object is disposed of.
43 Some trigger methods requires an argument (calling these with a NULL
44 argument is wrong). Use GetDTTriggerMethodDataFlags() to obtain the
45 type of the requested argument.
49 To call the specific method, do the following:
51 DoMethod(object, DTM_TRIGGER, myMethod);
63 *****************************************************************************/
67 struct DTMethod
*dtm
= NULL
;
73 opGet
.MethodID
= OM_GET
;
74 opGet
.opg_AttrID
= DTA_TriggerMethods
;
75 opGet
.opg_Storage
= (IPTR
*)&dtm
;
77 if(!DoMethodA(object
, (Msg
)&opGet
))
83 } /* GetDTTriggerMethods */