Autodocs updated.
[cake.git] / workbench / libs / icon / putdiskobject.c
blob566ad20f243f0448488def749669847de3a82a57
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "icon_intern.h"
8 /*****************************************************************************
10 NAME */
11 #include <clib/icon_protos.h>
13 AROS_LH2(BOOL, PutDiskObject,
15 /* SYNOPSIS */
16 AROS_LHA(CONST_STRPTR, name, A0),
17 AROS_LHA(struct DiskObject *, icon, A1),
19 /* LOCATION */
20 struct Library *, IconBase, 14, Icon)
22 /* FUNCTION
23 Writes icon to disk.
25 INPUTS
26 name - filename, ".info" will be appended.
27 icon - diskobject to write
29 RESULT
30 TRUE on success, FALSE on error
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 *****************************************************************************/
44 AROS_LIBFUNC_INIT
46 return PutIconTags
48 name, icon,
49 ICONPUTA_NotifyWorkbench, TRUE,
50 TAG_DONE
53 AROS_LIBFUNC_EXIT
54 } /* PutDiskObject() */