home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / YellowBox / Kits / MiscTableScroll-138.1 / Examples / ScrollDir / DirWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-31  |  2.1 KB  |  64 lines

  1. #ifndef __DirWindow_h
  2. #define __DirWindow_h
  3. //=============================================================================
  4. //
  5. //    Copyright (C) 1995-1997 by Paul S. McCarthy and Eric Sunshine.
  6. //        Written by Paul S. McCarthy and Eric Sunshine.
  7. //                All Rights Reserved.
  8. //
  9. //    This notice may not be removed from this source code.
  10. //
  11. //    This object is included in the MiscKit by permission from the authors
  12. //    and its use is governed by the MiscKit license, found in the file
  13. //    "License.rtf" in the MiscKit distribution.  Please refer to that file
  14. //    for a list of all applicable permissions and restrictions.
  15. //
  16. //=============================================================================
  17. //-----------------------------------------------------------------------------
  18. // DirWindow.h
  19. //
  20. //    Manages window which displays directory listing.
  21. //
  22. //-----------------------------------------------------------------------------
  23. //-----------------------------------------------------------------------------
  24. // $Id: DirWindow.h,v 1.3 97/11/22 23:33:31 sunshine Exp $
  25. // $Log:    DirWindow.h,v $
  26. // Revision 1.3  97/11/22  23:33:31  sunshine
  27. // v32.1: Added row-numbers switch.
  28. // 
  29. // Revision 1.2  97/03/22  22:47:32  sunshine
  30. // v29.1: Added 'writable' flag to prevent cmd-r from working in read-only
  31. // directories.
  32. // 
  33. // Revision 1.1  97/03/21  18:30:59  sunshine
  34. // v28: Directory window.
  35. //-----------------------------------------------------------------------------
  36. #import <Foundation/NSObject.h>
  37. @class MiscTableScroll, NSButton, NSTextField, NSWindow;
  38.  
  39. @interface DirWindow : NSObject
  40.     {
  41.     MiscTableScroll*    scroll;
  42.     NSWindow*        window;
  43.     NSButton*        autoSortSwitch;
  44.     NSButton*        cdButton;
  45.     NSButton*        dragUnscaledSwitch;
  46.     NSButton*        hiddenFilesSwitch;
  47.     NSButton*        highlightSwitch;
  48.     NSButton*        refreshButton;
  49.     NSButton*        rowNumbersSwitch;
  50.     NSTextField*    countField;
  51.     NSString*        path;
  52.     BOOL        writable;
  53.     BOOL        autoSort;
  54.     BOOL        dragUnscaled;
  55.     BOOL        highlightDirs;
  56.     BOOL        showHidden;
  57.     }
  58.  
  59. + (void)launchDir:(NSString*)dirname;
  60.  
  61. @end
  62.  
  63. #endif // __DirWindow_h
  64.