home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / src / out-of-phase-102-c / OutOfPhase 1.02 Source / OutOfPhase Folder / Level 0 Macintosh 29Sep94 / Scrap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-23  |  794 b   |  30 lines  |  [TEXT/KAHL]

  1. /* Scrap.h */
  2.  
  3. #ifndef Included_Scrap_h
  4. #define Included_Scrap_h
  5.  
  6. /* Scrap module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* Memory */
  12.  
  13. /* scrap handling routines only work with text.  Arbitrary blocks of data are */
  14. /* treated as text. */
  15.  
  16. /* initialize or shutdown any stuff needed to handle systemwide data scraps */
  17. /* these are internal routines used only by the Screen module */
  18. MyBoolean        Eep_InitializeScrapHandler(void);
  19. void                Eep_ShutdownScrapHandler(void);
  20.  
  21. /* get a block containing a copy of the scrap */
  22. /* if a block couldn't be allocated, then it returns NIL */
  23. char*                GetCopyOfScrap(void);
  24.  
  25. /* make a copy of the block and put the data into the scrap */
  26. /* returns True if successful */
  27. MyBoolean        SetScrapToThis(char* DataToCopy);
  28.  
  29. #endif
  30.