home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / Translation Manager / Sample Code / Translation Extension Example / LowerToUpperCase.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-05  |  710 b   |  29 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        LowerToUpperCase.h 
  3.  
  4.     Contains:    Header for Translation Extension which converts from lower to upper case
  5.     
  6.     Copyright:    © 1994,1998 by Apple Computer, Inc., all rights reserved.
  7. */
  8.  
  9. #ifndef __LOWERTOUPPERCASE__
  10. #define __LOWERTOUPPERCASE__
  11.  
  12. #define    kProgressAdvertisement 128
  13.  
  14.  
  15.  
  16. pascal    OSErr    CopyFork(        FSSpec        srcSpec, 
  17.                                 short         srcRefNum,
  18.                                  short         dstRefNum,
  19.                                  void         *copyBufferPtr,
  20.                                  long         copyBufferSize,
  21.                                  TranslationRefNum    progressRefNum    );
  22.  
  23. static    OSErr    CountTheBlocks(    short        srcVRefNum,
  24.                                 long        srcDirID,
  25.                                 ConstStr255Param srcName,
  26.                                 long        myBlockSize,
  27.                                 unsigned short *srcDataBlks    );
  28.                                    
  29. #endif // __LOWERTOUPPERCASE__