home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Frameworks / DropShell 2.0 / ProcessItem.c < prev   
Encoding:
C/C++ Source or Header  |  1994-10-12  |  470 b   |  17 lines  |  [TEXT/MPCC]

  1. /*
  2.     This routine gets called for each item (which could be either a file or a folder)
  3.     that the caller wants dropped.  The determining factor is the definition of the 
  4.     qWalkFolder compiler directive.   Either way, the item in question should be
  5.     processed as a single item and not "dissected" into component units (like subfiles
  6.     of a folder!)
  7. */
  8. #include <Files.h>
  9.  
  10. OSErr ProcessItem(FSSpecPtr myFSSPtr) {
  11.     OSErr    err = noErr;
  12.     
  13.     // do something here
  14.     
  15.     return(err);
  16. }
  17.