home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / indexing / IXFileRecord.h < prev    next >
Text File  |  1992-03-22  |  1KB  |  42 lines

  1. /*
  2. IXFileRecord.h
  3. Copyright 1991, NeXT Computer, Inc.
  4. */
  5.  
  6. #import    <objc/Object.h>
  7. #import    <remote/transport.h>
  8.  
  9. @class IXFileFinder;
  10.  
  11. @interface IXFileRecord: Object <NXTransport>
  12. {
  13.     id            _bindings;
  14. @public
  15.     unsigned        filedate;
  16.     IXFileFinder    *fileFinder;
  17.     char        *filename;
  18.     char        *filetype;
  19.     char        *description;
  20.     struct stat        *statBuffer;
  21. }
  22.  
  23. - (IXFileFinder *)fileFinder;
  24. - initWithFileFinder:(IXFileFinder *)aFinder;
  25.  
  26. - (const struct stat *)statBuffer; // stats file if necessary
  27.  
  28. - (const char *)filename; // returns the recorded file name
  29. - setFilename:(const char *)name; // sets the recorded file name
  30.  
  31. - (const char *)filetype; // returns the recorded file type 
  32. - setFiletype:(const char *)type; // sets drecorded file type
  33.  
  34. - (const char *)description; // returns the recorded description 
  35. - setDescription:(const char *)aDescription; // sets the recorded description
  36.  
  37. - (unsigned)filedate; // returns the recorded modification date
  38. - setFiledate:(unsigned)date; // sets the recorded modification date
  39.  
  40. @end
  41.  
  42.