home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Misc / Cookie / Source / CookieFile.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  730 b   |  38 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <objc/Object.h>
  5. #import <sys/param.h>
  6. #import <streams/streams.h>
  7. #import <objc/List.h>
  8. #import "Cookie.h"
  9.  
  10. @interface CookieFile:Object
  11. {
  12.     char filename[MAXPATHLEN];
  13.     int file_length;
  14.     struct _cookieFlags {
  15.         unsigned int        selected:1;
  16.     } flags;
  17.     List *cookies;
  18. }
  19.  
  20. + (CookieFile *)findName :(char *)name fromList:(List *)list;
  21.  
  22. - initFromName :(char *)name fromList:(List *)list;
  23. - init;
  24. - setSelected :(BOOL)value;
  25. - (BOOL)selected;
  26. - (BOOL)readCookies :(NXStream *)stream;
  27. - (int)count;
  28. - (Cookie *)pickRandom;
  29. - (Cookie *)pickNumber :(int)number;
  30. - (void)free;
  31. - (char *)filename;
  32. - setFilename :(char *)filename;
  33. - fillOut;
  34. - (int)filelength;
  35. - setFilelength :(int)length;
  36.  
  37. @end
  38.