1 #ifndef CLIB_REACTION_LIB_PROTOS_H
    2 #define CLIB_REACTION_LIB_PROTOS_H
    3 
    4 /*
    5 	reaction.lib C prototypes
    6 
    7 	Copyright © 2002 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 #ifndef EXEC_TYPES_H
   11 # include <exec/types.h>
   12 #endif
   13 
   14 #ifndef UTILITY_TAGITEM_H
   15 # include <utility/tagitem.h>
   16 #endif
   17 
   18 #ifndef INTUITION_CLASSUSR_H
   19 # include <intuition/classusr.h>
   20 #endif
   21 
   22 #ifndef REACTION_REACTION_H
   23 # include <reaction/reaction.h>
   24 #endif
   25 
   26 #ifndef INTUITION_INTUITION_H
   27 # include <intuition/intuition.h>
   28 #endif
   29 
   30 
   31 #ifdef __cplusplus
   32 extern "C" {
   33 #endif /* __cplusplus */
   34 
   35 struct List *ChooserLabelsA( STRPTR * );
   36 #if !defined(USE_INLINE_STDARG)
   37 struct List *ChooserLabels( STRPTR, ... );
   38 #endif
   39 void FreeChooserLabels( struct List * );
   40 struct List *RadioButtonsA( STRPTR * );
   41 #if !defined(USE_INLINE_STDARG)
   42 struct List *RadioButtons( STRPTR, ... );
   43 #endif
   44 void FreeRadioButtons( struct List * );
   45 struct Window *OpenLayoutWindowTagList( struct Gadget *, struct Screen *, struct TagItem * );
   46 #if !defined(USE_INLINE_STDARG)
   47 struct Window *OpenLayoutWindowTags( struct Gadget *, struct Screen *, Tag, ... );
   48 #endif
   49 UWORD GetCode( struct IntuiMessage * );
   50 struct ClassLibrary *OpenClass(STRPTR, ULONG);
   51 STRPTR OpenLibs(APTR);
   52 void CloseLibs(APTR);
   53 ULONG LibDoGadgetMethodA( struct Gadget *, struct Window *, struct Requester *, Msg );
   54 #if !defined(USE_INLINE_STDARG)
   55 ULONG LibDoGadgetMethod( struct Gadget *, struct Window *, struct Requester *, Tag, ... );
   56 #endif
   57 ULONG GetAttrsA( Object *o, struct TagItem *t );
   58 #if !defined(USE_INLINE_STDARG)
   59 ULONG GetAttrs( Object *o, Tag t, ... );
   60 #endif
   61 struct List *BrowserNodesA( STRPTR * );
   62 #if !defined(USE_INLINE_STDARG)
   63 struct List *BrowserNodes( STRPTR, ... );
   64 #endif
   65 void FreeBrowserNodes( struct List * );
   66 struct List *ClickTabsA( STRPTR * );
   67 #if !defined(USE_INLINE_STDARG)
   68 struct List *ClickTabs( STRPTR, ... );
   69 #endif
   70 void FreeClickTabs( struct List * );
   71 struct Node *LBAddNodeA( struct Gadget *, struct Window *, struct Requester *, struct Node *, struct TagItem * );
   72 ULONG LBEditNodeA( struct Gadget *, struct Window *, struct Requester *, struct Node *, struct TagItem * );
   73 #if !defined(USE_INLINE_STDARG)
   74 struct Node *LBAddNode( struct Gadget *lb, struct Window *w, struct Requester *r, struct Node *n, ULONG tag, ... );
   75 #endif
   76 #if !defined(USE_INLINE_STDARG)
   77 ULONG LBEditNode( struct Gadget *lb, struct Window *w, struct Requester *r, struct Node *n, ULONG tag, ... );
   78 #endif
   79 ULONG LBRemNode( struct Gadget *, struct Window *, struct Requester *, struct Node * );
   80 
   81 #ifdef __cplusplus
   82 }
   83 #endif /* __cplusplus */
   84 
   85 
   86 #endif /* CLIB_REACTION_LIB_PROTOS_H */