home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / appkit / OpenPanel.h < prev    next >
Text File  |  1991-11-25  |  1KB  |  40 lines

  1. /*
  2.     OpenPanel.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "SavePanel.h"
  8. #import <sys/stat.h>
  9.  
  10. /* Tags of views in the OpenPanel */
  11.  
  12. #define NX_OPICONBUTTON        NX_SPICONBUTTON
  13. #define NX_OPTITLEFIELD        NX_SPTITLEFIELD
  14. #define NX_OPCANCELBUTTON    NX_SPCANCELBUTTON
  15. #define NX_OPOKBUTTON        NX_SPOKBUTTON
  16. #define NX_OPFORM        NX_SPFORM
  17.  
  18. @interface OpenPanel : SavePanel
  19. {
  20.     void           *_reservedPtr0;
  21.     char              **filterTypes;
  22.     unsigned int        _reservedOPint1;
  23.     unsigned int        _reservedOPint2;
  24. }
  25.  
  26. + setOpenPanelFactory:factoryId;
  27.  
  28. + new;
  29. + newContent:(const NXRect *)contentRect style:(int)aStyle backing:(int)bufferingType buttonMask:(int)mask defer:(BOOL)flag;
  30.  
  31. - free;
  32. - allowMultipleFiles:(BOOL)flag;
  33. - chooseDirectories:(BOOL)flag;
  34. - (const char *const *)filenames;
  35. - (int)runModalForDirectory:(const char *)path file:(const char *)name types:(const char *const *)fileTypes;
  36. - (int)runModalForTypes:(const char *const *)fileTypes;
  37. - (int)runModalForDirectory:(const char *)path file:(const char *)name;
  38.  
  39. @end
  40.