1 #ifndef CLIB_RESOURCE_PROTOS_H
    2 #define CLIB_RESOURCE_PROTOS_H
    3 
    4 /*
    5 	resource.library C prototypes
    6 
    7 	Copyright © 2002 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 #ifndef LIBRARIES_RESOURCE_H
   11 # include <libraries/resource.h>
   12 #endif
   13 
   14 #ifndef INTUITION_CLASSUSR_H
   15 # include <intuition/classusr.h>
   16 #endif
   17 
   18 #ifndef INTUITION_INTUITION_H
   19 # include <intuition/intuition.h>
   20 #endif
   21 
   22 #ifndef LIBRARIES_LOCALE_H
   23 # include <libraries/locale.h>
   24 #endif
   25 
   26 #ifndef UTILITY_TAGITEM_H
   27 # include <utility/tagitem.h>
   28 #endif
   29 
   30 
   31 #ifdef __cplusplus
   32 extern "C" {
   33 #endif /* __cplusplus */
   34 
   35 RESOURCEFILE RL_OpenResource( APTR resource, struct Screen *screen, struct Catalog *catalog );
   36 VOID RL_CloseResource( RESOURCEFILE resfile );
   37 Object *RL_NewObjectA( RESOURCEFILE resfile, RESOURCEID resid, struct TagItem *tags );
   38 #if !defined(USE_INLINE_STDARG)
   39 Object *RL_NewObject( RESOURCEFILE resfile, RESOURCEID resid, ... );
   40 #endif
   41 VOID RL_DisposeObject( RESOURCEFILE resfile, Object *obj );
   42 Object **RL_NewGroupA( RESOURCEFILE resfile, RESOURCEID id, struct TagItem *taglist );
   43 #if !defined(USE_INLINE_STDARG)
   44 Object **RL_NewGroup( RESOURCEFILE resfile, RESOURCEID id, ... );
   45 #endif
   46 VOID RL_DisposeGroup( RESOURCEFILE resfile, Object **obj );
   47 Object **RL_GetObjectArray( RESOURCEFILE resfile, Object *obj, RESOURCEID id );
   48 BOOL RL_SetResourceScreen( RESOURCEFILE resfile, struct Screen *screen );
   49 
   50 #ifdef __cplusplus
   51 }
   52 #endif /* __cplusplus */
   53 
   54 
   55 #endif /* CLIB_RESOURCE_PROTOS_H */