grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / tools / SysExplorer / enums.h
blobdb352aca73d59c995a27bd7f17555a49149f1770
2 struct ObjectUserData
4 OOP_Object *obj;
5 struct MUI_CustomClass *winClass;
6 Object *win;
7 };
9 struct InsertObjectMsg
11 OOP_Object *obj;
12 struct MUI_CustomClass *winClass;
15 typedef void (*CLASS_ENUMFUNC)(OOP_Object *obj, struct MUI_NListtree_TreeNode *parent);
16 typedef BOOL (*CLASS_VALIDFUNC)(OOP_Object *obj, ULONG *flags);
18 struct ClassHandlerNode
20 struct Node ch_Node; // ln_Name = classID;
21 struct MUI_CustomClass **muiClass;
22 CLASS_ENUMFUNC enumFunc;
23 CLASS_VALIDFUNC validFunc;
26 extern Object *hidd_tree;
28 extern BOOL RegisterClassHandler(CONST_STRPTR, BYTE pri, struct MUI_CustomClass **, CLASS_ENUMFUNC enumfunc, CLASS_VALIDFUNC validfunc);
29 extern struct ClassHandlerNode *FindClassHandler(CONST_STRPTR, struct List *);
30 extern struct ClassHandlerNode *FindObjectHandler(OOP_Object *, struct List *);
32 extern void hwEnum(OOP_Object *obj, struct MUI_NListtree_TreeNode *tn);