1 #ifndef CLIB_LISTBROWSER_PROTOS_H 2 #define CLIB_LISTBROWSER_PROTOS_H 3 4 /* 5 listbrowser.gadget C prototypes 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef INTUITION_INTUITION_H 11 # include <intuition/intuition.h> 12 #endif 13 14 #ifndef INTUITION_CLASSES_H 15 # include <intuition/classes.h> 16 #endif 17 18 #ifndef GADGETS_LISTBROWSER_H 19 # include <gadgets/listbrowser.h> 20 #endif 21 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif /* __cplusplus */ 26 27 struct IClass *LISTBROWSER_GetClass( VOID ); 28 struct Node *AllocListBrowserNodeA( ULONG columns, struct TagItem *tags ); 29 #if !defined(USE_INLINE_STDARG) 30 struct Node *AllocListBrowserNode( ULONG columns, ... ); 31 #endif 32 VOID FreeListBrowserNode( struct Node *node ); 33 VOID SetListBrowserNodeAttrsA( struct Node *node, struct TagItem *tags ); 34 #if !defined(USE_INLINE_STDARG) 35 VOID SetListBrowserNodeAttrs( struct Node *node, ... ); 36 #endif 37 VOID GetListBrowserNodeAttrsA( struct Node *node, struct TagItem *tags ); 38 #if !defined(USE_INLINE_STDARG) 39 VOID GetListBrowserNodeAttrs( struct Node *node, ... ); 40 #endif 41 VOID ListBrowserSelectAll( struct List *list ); 42 VOID ShowListBrowserNodeChildren( struct Node *node, LONG depth ); 43 VOID HideListBrowserNodeChildren( struct Node *node ); 44 VOID ShowAllListBrowserChildren( struct List *list ); 45 VOID HideAllListBrowserChildren( struct List *list ); 46 VOID FreeListBrowserList( struct List *list ); 47 48 /*** V45 ***/ 49 struct ColumnInfo *AllocLBColumnInfoA( ULONG columns, struct TagItem *tags ); 50 #if !defined(USE_INLINE_STDARG) 51 struct ColumnInfo *AllocLBColumnInfo( ULONG columns, ... ); 52 #endif 53 LONG SetLBColumnInfoAttrsA( struct ColumnInfo *columninfo, struct TagItem *tags ); 54 #if !defined(USE_INLINE_STDARG) 55 LONG SetLBColumnInfoAttrs( struct ColumnInfo *columninfo, ... ); 56 #endif 57 LONG GetLBColumnInfoAttrsA( struct ColumnInfo *columninfo, struct TagItem *tags ); 58 #if !defined(USE_INLINE_STDARG) 59 LONG GetLBColumnInfoAttrs( struct ColumnInfo *columninfo, ... ); 60 #endif 61 VOID FreeLBColumnInfo( struct ColumnInfo *columninfo ); 62 VOID ListBrowserClearAll( struct List *list ); 63 64 #ifdef __cplusplus 65 } 66 #endif /* __cplusplus */ 67 68 69 #endif /* CLIB_LISTBROWSER_PROTOS_H */