Build FileSystem.resource for sam port.
[AROS.git] / compiler / alib / setsuperattrs.c
blob05c5e36535ab52b660e9f228be276de968f59381
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
5 Set attributes in a specific class
6 */
8 #define INTUITION_NO_INLINE_STDARG
10 #define AROS_TAGRETURNTYPE IPTR
12 #include <intuition/classes.h>
13 #include <intuition/intuitionbase.h>
14 #include "alib_intern.h"
16 /*****************************************************************************
18 NAME */
19 #include <intuition/classusr.h>
20 #include <proto/intuition.h>
22 IPTR SetSuperAttrs (
24 /* SYNOPSIS */
25 Class * class,
26 Object * object,
27 Tag tag1,
28 ...)
30 /* FUNCTION
31 Changes several attributes of an object at the same time. How the
32 object interprets the new attributes depends on the class.
34 INPUTS
35 class - Assume that the object is of this class.
36 object - Change the attributes of this object
37 tag1 - The first of a list of attribute/value-pairs. The last
38 attribute in this list must be TAG_END or TAG_DONE.
39 The value for this last attribute is not examined (ie.
40 you need not specify it).
42 RESULT
43 Depends in the class. For gadgets, this value is non-zero if
44 they need redrawing after the values have changed. Other classes
45 will define other return values.
47 NOTES
48 This function sends OM_SET to the object.
50 EXAMPLE
52 BUGS
54 SEE ALSO
55 boopsi.library/NewObjectA(), boopsi.library/DisposeObject(),
56 boopsi.library/GetAttr(), boopsi.library/MakeClass(),
57 "Basic Object-Oriented Programming System for Intuition" and
58 "boopsi Class Reference" Dokument.
60 INTERNALS
62 HISTORY
63 29-10-95 digulla automatically created from
64 intuition_lib.fd and clib/intuition_protos.h
66 *****************************************************************************/
68 struct opSet ops, *msg = &ops;
69 AROS_SLOWSTACKTAGS_PRE(tag1)
71 ops.MethodID = OM_SET;
72 ops.ops_AttrList = AROS_SLOWSTACKTAGS_ARG(tag1);
73 ops.ops_GInfo = NULL;
75 retval = DoSuperMethodA(class, object, (Msg)msg);
76 AROS_SLOWSTACKTAGS_POST
77 } /* SetSuperAttrs */