home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / text / hyper / ADtoHT2_1.lha / Source.lha / MyLib.lha / include / clib / muimaster_protos.h
Encoding:
C/C++ Source or Header  |  1995-04-01  |  1.6 KB  |  63 lines

  1. #ifndef  CLIB_MUIMASTER_PROTOS_H
  2. #define  CLIB_MUIMASTER_PROTOS_H
  3.  
  4. #ifndef EXEC_TYPES_H
  5. #include <exec/types.h>
  6. #endif
  7. #ifndef INTUITION_CLASSES_H
  8. #include <intuition/classes.h>
  9. #endif
  10. #ifndef UTILITY_TAGITEM_H
  11. #include <utility/tagitem.h>
  12. #endif
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18. #if !defined(EXEC_LIBRARY_H) && !defined(LATTICE_50)
  19. struct Library;
  20. #endif
  21.  
  22. extern struct Library *MUIMasterBase;
  23.  
  24. /* functions to be used in applications */
  25.  
  26. Object *MUI_NewObjectA(const char *, const struct TagItem *);
  27. Object *MUI_NewObject(const char *, Tag, ...);
  28.  
  29. Object *MUI_MakeObjectA(LONG, const ULONG *);
  30. Object *MUI_MakeObject(LONG, ...);
  31.  
  32. LONG MUI_RequestA(Object *, Object *, LONGBITS, const char *, const char *, const char *, const APTR);
  33. LONG MUI_Request(Object *, Object *, LONGBITS, const char *, const char *, const char *, ...);
  34.  
  35. APTR MUI_AllocAslRequest(ULONG, const struct TagItem *);
  36. APTR MUI_AllocAslRequestTags(ULONG, Tag, ...);
  37.  
  38. BOOL MUI_AslRequest(APTR, const struct TagItem *);
  39. BOOL MUI_AslRequestTags(APTR, Tag, ...);
  40.  
  41. void MUI_FreeAslRequest(APTR);
  42. void MUI_DisposeObject(Object *obj);
  43. LONG MUI_Error(void);
  44.  
  45. /* functions to be used with custom classes */
  46.  
  47. struct IClass *MUI_GetClass (const char *);
  48. void MUI_FreeClass(struct IClass *);
  49.  
  50. void MUI_RequestIDCMP(Object *, ULONG);
  51. void MUI_RejectIDCMP(Object *, ULONG);
  52.  
  53. struct MUI_CustomClass *MUI_CreateCustomClass(struct Library *, const char *, struct MUI_CustomClass *, int, APTR);
  54. BOOL MUI_DeleteCustomClass(struct MUI_CustomClass *);
  55.  
  56. void MUI_Redraw(Object *, ULONG);
  57. LONG MUI_SetError(LONG);
  58.  
  59. #ifdef __cplusplus
  60. }
  61. #endif
  62. #endif /* CLIB_MUIMASTER_PROTOS_H */
  63.