Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / libs / icon / identify.h
blob15e60346936d78674cd6cd3fe141d82be5afd86d
1 #ifndef _IDENTIFY_H_
2 #define _IDENTIFY_H_
4 /*
5 Copyright © 2003-2004, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include <workbench/workbench.h>
10 #include <workbench/icon.h>
12 /*** Prototypes *************************************************************/
13 LONG __FindType_WB(struct IconIdentifyMsg *iim, struct Library *IconBase);
14 struct DiskObject *__FindDefaultIcon_WB(struct IconIdentifyMsg *iim, struct Library *IconBase);
16 /*** Macros *****************************************************************/
17 #define FindType(iim) (__FindType_WB((iim), IconBase))
18 #define FindDefaultIcon(iim) (__FindDefaultIcon_WB((iim), IconBase))
20 #endif /* _IDENTIFY_H_ */