home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / GCC 1.37.1r14 / usr / gcc-1.37.1r14 / object oriented files / ResourceStructs.h < prev   
Encoding:
C/C++ Source or Header  |  1993-04-18  |  752 b   |  41 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  ResourceStructs.h
  3.  
  4.             
  5.     Copyright © 1991 Symantec Corporation. All rights reserved.
  6.     
  7.     Contains structure definitions used by CBrowseResDoc and
  8.     other classes.
  9.  
  10.     TCL 1.1.3 Changes
  11.     [
  12.         - use #pragma once
  13.         - changed forward declaration to use CLASS
  14.     ]
  15.  ******************************************************************************/
  16.  
  17. #pragma once
  18.  
  19. CLASS CDirector;
  20.  
  21.     // Information about a resource type
  22.  
  23. typedef struct tResTypeInfo
  24. {
  25.     ResType        type;
  26.     Boolean        editable;
  27.     CDirector    *window;
  28.     
  29. } tResTypeInfo;
  30.  
  31.     //    Information about a resource
  32.  
  33. typedef struct tResourceInfo
  34. {
  35.     short        ID;
  36.     long        size;
  37.     Handle        resource;
  38.     Str255        name;
  39.     CDirector    *window;
  40.  
  41. } tResourceInfo;