2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 #include "icon_intern.h"
8 /*****************************************************************************
11 #include <proto/icon.h>
13 AROS_LH1(struct DiskObject
*, GetDiskObjectNew
,
16 AROS_LHA(CONST_STRPTR
, name
, A0
),
19 struct IconBase
*, IconBase
, 22, Icon
)
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
27 name - name of the file to read an icon for.
30 DiskObject - pointer to diskobject struct.
39 GetDiskObject(), GetDefDiskObject()
43 *****************************************************************************/
47 return GetIconTags(name
, ICONGETA_FailIfUnavailable
, FALSE
, TAG_DONE
);
50 } /* GetDiskObjectNew() */