remove unused file
[AROS.git] / workbench / libs / icon / getdefdiskobject.c
blobf9a98e7378e417f8feb0b2f0f05325a79ea38401
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 <proto/icon.h>
13 AROS_LH1(struct DiskObject *, GetDefDiskObject,
15 /* SYNOPSIS */
16 AROS_LHA(LONG, type, D0),
18 /* LOCATION */
19 struct IconBase *, IconBase, 20, Icon)
21 /* FUNCTION
22 Gets the default icon for the supplied type of icon.
24 INPUTS
25 type - type of icon to get default diskobject for.
28 RESULT
29 DiskObject structure or NULL if an error occured. The error may
30 be obtained by IoErr().
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
39 PutDefDiskObject(), GetDiskObjectNew()
41 INTERNALS
43 *****************************************************************************/
45 AROS_LIBFUNC_INIT
47 return GetIconTags(NULL, ICONGETA_GetDefaultType, type, TAG_DONE);
49 AROS_LIBFUNC_EXIT
50 } /* GetDefDiskObject() */