home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Interfaces&Libraries / Universal / Interfaces / AIncludes / CMScriptingPlugin.a < prev    next >
Encoding:
Text File  |  1998-08-17  |  1.4 KB  |  51 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        CMScriptingPlugin.a
  3. ;
  4. ;    Contains:    ColorSync Scripting Plugin API
  5. ;
  6. ;    Version:    Technology:    ColorSync 2.5
  7. ;                Release:    Universal Interfaces 3.2
  8. ;
  9. ;    Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  10. ;
  11. ;    Bugs?:        For bug reports, consult the following page on
  12. ;                the World Wide Web:
  13. ;
  14. ;                    http://developer.apple.com/bugreporter/
  15. ;
  16. ;
  17.     IF &TYPE('__CMSCRIPTINGPLUGIN__') = 'UNDEFINED' THEN
  18. __CMSCRIPTINGPLUGIN__ SET 1
  19.  
  20.     IF &TYPE('__FILES__') = 'UNDEFINED' THEN
  21.     include 'Files.a'
  22.     ENDIF
  23.     IF &TYPE('__CMAPPLICATION__') = 'UNDEFINED' THEN
  24.     include 'CMApplication.a'
  25.     ENDIF
  26.     IF &TYPE('__CODEFRAGMENTS__') = 'UNDEFINED' THEN
  27.     include 'CodeFragments.a'
  28.     ENDIF
  29.  
  30.  
  31.  
  32.  
  33.                                                             ; ColorSync Scripting AppleEvent Errors 
  34. cmspInvalidImageFile            EQU        -4220                ; Plugin cannot handle this image file type 
  35. cmspInvalidImageSpace            EQU        -4221                ; Plugin cannot create an image file of this colorspace 
  36. cmspInvalidProfileEmbed            EQU        -4222                ; Specific invalid profile errors 
  37. cmspInvalidProfileSource        EQU        -4223
  38. cmspInvalidProfileDest            EQU        -4224
  39. cmspInvalidProfileProof            EQU        -4225
  40. cmspInvalidProfileLink            EQU        -4226
  41.  
  42. ; *** embedFlags field  ***
  43. ;  reserved for future use: currently 0 
  44.  
  45. ; *** matchFlags field  ***
  46.  
  47. cmspFavorEmbeddedMask            EQU        $00000001            ; if bit 0 is 0 then use srcProf profile, if 1 then use profile embedded in image if present
  48.  
  49.     ENDIF ; __CMSCRIPTINGPLUGIN__ 
  50.  
  51.