home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Helpers / VersionEdit 1.0 / Project Includes / ProductInformation.h < prev   
Encoding:
Text File  |  1994-05-02  |  1.1 KB  |  69 lines  |  [TEXT/MPS ]

  1.  
  2. // ProductInformation.h
  3. // Defines for Accessing Product Information
  4. // April 27, 1994
  5.  
  6. // Copyright © 1994, Teknosys, Inc.
  7.  
  8.  
  9. #ifndef    __PRODUCTINFORMATION__
  10. #define    __PRODUCTINFORMATION__
  11.  
  12.  
  13. // ResTypes
  14.  
  15. #define    kVersionResType        'vers'
  16. #define    kProductInfoResType    'STR#'
  17. #define    kProductDescResType    'TEXT'
  18.  
  19.  
  20. // Product Information Resources
  21.  
  22. enum
  23. {
  24.     kFileVersionID                    = 1,
  25.     kProductVersionID                = 2,
  26.  
  27.     kProductInfoID                    = 1,
  28.         kProductName                = 1,
  29.         kProductFileName            = 2,
  30.         kProductReleaseYear        = 3,
  31.  
  32.     kVendorInfoID                    = 2,
  33.         kVendorAuthor                = 1,
  34.         kVendorCompany                = 2,
  35.         kVendorAddress                = 3,
  36.         kVendorTelephone            = 4,
  37.         kVendorFax                    = 5,
  38.         kVendorAppleLink            = 6,
  39.         kVendorAmericaOnline        = 7,
  40.         kVendorCompuServe            = 8,
  41.         kVendorInternet            = 9,
  42.  
  43.     kProductDescriptionID        = 1
  44. };
  45.  
  46.  
  47. #ifdef __cplusplus
  48. extern "C" {
  49. #endif
  50.  
  51.  
  52. // Function prototypes
  53.  
  54. extern long GetVersionNumber(short versionID);
  55.  
  56. extern OSErr GetVersionNumberString(short versionID, Str255 str);
  57.  
  58. extern OSErr GetVersionMessage(short versionID, Str255 message);
  59.  
  60.  
  61. #ifdef __cplusplus
  62. }
  63. #endif
  64.  
  65.  
  66. #endif
  67.  
  68.  
  69.