home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / source / browser / browser.hqx / Browser / bndl_private.h next >
Encoding:
C/C++ Source or Header  |  1995-09-19  |  785 b   |  49 lines

  1. #if !defined(_BNDL_PRIVATE_H_)
  2. #define _BNDL_PRIVATE_H_
  3.  
  4. #include "mytype.h"
  5. #include "iconcontrol.h"
  6.  
  7. #if !defined(PRIVATE)
  8. #define PRIVATE static
  9. #endif
  10.  
  11. #if !defined(PUBLIC)
  12. #define PUBLIC
  13. #endif
  14.  
  15. typedef struct
  16. {
  17.   INTEGER local_id;
  18.   INTEGER resource_id;
  19. } local_mapping_t;
  20.  
  21. typedef struct
  22. {
  23.   ResType code;
  24.   INTEGER n_mappings_minus_1;
  25.   local_mapping_t mapping[1]; /* would like to put 0 here */
  26. } bndl_section_t;
  27.  
  28. typedef struct
  29. {
  30.   INTEGER local_id;
  31.   icn_sharp_hand icon;
  32. } local_icn_sharp_t;
  33.  
  34. typedef struct type_creator_link_str
  35. {
  36.   struct type_creator_link_str *next;
  37.   OSType type;
  38.   OSType creator;
  39.   icn_sharp_hand icon;
  40. } type_creator_link_t;
  41.  
  42. typedef struct
  43. {
  44.   OSType type;
  45.   INTEGER local_id;
  46.   /* more, but we don't care about it */
  47. } fref_t, **fref_hand;
  48. #endif
  49.