home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / AppleScript / Development Tools / Interfaces / AppleScript 1.0 Interfaces / CIncludes / OSAComp.h < prev    next >
Encoding:
Text File  |  1993-04-08  |  1.4 KB  |  43 lines  |  [TEXT/MPS ]

  1. ////////////////////////////////////////////////////////////////////////////////
  2. // OPEN SCRIPTING ARCHITECTURE: Component Implementor's Interface
  3. ////////////////////////////////////////////////////////////////////////////////
  4. // Copyright © 1992 Apple Computer, Inc. All rights reserved.
  5. // Authors: Jens Alfke, William Cook, Donn Denman, and Warren Harris
  6. ////////////////////////////////////////////////////////////////////////////////
  7.  
  8. #ifndef __OSAComp__
  9. #define __OSAComp__
  10.  
  11. #ifndef __OSA__
  12. #include "OSA.h"
  13. #endif
  14.  
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18.  
  19. ////////////////////////////////////////////////////////////////////////////////
  20. // Types and Constants
  21. ////////////////////////////////////////////////////////////////////////////////
  22.  
  23. ////////////////////////////////////////////////////////////////////////////////
  24. // Routines for Associating a Storage Type with a Script Data Handle 
  25. ////////////////////////////////////////////////////////////////////////////////
  26.  
  27. pascal OSErr
  28. OSAGetStorageType(Handle scriptData, DescType* type);
  29.  
  30. pascal OSErr
  31. OSAAddStorageType(Handle scriptData, DescType type);
  32.  
  33. pascal OSErr
  34. OSARemoveStorageType(Handle scriptData);
  35.  
  36. ////////////////////////////////////////////////////////////////////////////////
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40.  
  41. #endif
  42. //////////////////////////////////////////////////////////////////////////////////////////////////////
  43.