remove unused file
[AROS.git] / workbench / libs / icon / getdiskobjectnew.c
blob0252103482691f366f81cb1470f99c9c539675d5
1 /*
2 Copyright © 1995-2014, 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 *, GetDiskObjectNew,
15 /* SYNOPSIS */
16 AROS_LHA(CONST_STRPTR, name, A0),
18 /* LOCATION */
19 struct IconBase *, IconBase, 22, Icon)
21 /* FUNCTION
22 Tries to open the supplied info file via GetDiskObject(). If this
23 does not succeed it will try to read the default info file for
24 that type of file.
26 INPUTS
27 name - name of the file to read an icon for.
29 RESULT
30 DiskObject - pointer to diskobject struct.
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
39 GetDiskObject(), GetDefDiskObject()
41 INTERNALS
43 *****************************************************************************/
45 AROS_LIBFUNC_INIT
47 return GetIconTags(name, ICONGETA_FailIfUnavailable, FALSE, TAG_DONE);
49 AROS_LIBFUNC_EXIT
50 } /* GetDiskObjectNew() */