home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / YellowBox / Kits / MiscTableScroll-138.1 / Examples / LazyScrollDir / DirWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-31  |  2.2 KB  |  66 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/24 19:50:45 sunshine Exp $
  25. // $Log:    DirWindow.h,v $
  26. // Revision 1.3  97/11/24  19:50:45  sunshine
  27. // v17.1: Fixed bug: Menu was sending -print: to first-responder even though
  28. // any control can be first-responder, rather than just MiscTableScroll.
  29. // Added row-numbers switch.  Adjusted initial cascade position for NT.
  30. // 
  31. // Revision 1.2  97/04/25  20:02:50  sunshine
  32. // v14.2: Now uses NSArray for lazyRow.
  33. // 
  34. // Revision 1.1  97/03/23  01:59:18  sunshine
  35. // v13.1: Browser window.
  36. //-----------------------------------------------------------------------------
  37. #import <Foundation/NSObject.h>
  38. @class DirArray, MiscTableScroll, NSArray, NSButton, NSTextField, NSWindow;
  39.  
  40. @interface DirWindow : NSObject
  41.     {
  42.     MiscTableScroll*    scroll;
  43.     NSWindow*        window;
  44.     NSButton*        autoSortSwitch;
  45.     NSButton*        cdButton;
  46.     NSButton*        dragUnscaledSwitch;
  47.     NSButton*        hiddenFilesSwitch;
  48.     NSButton*        highlightSwitch;
  49.     NSButton*        refreshButton;
  50.     NSButton*        rowNumbersSwitch;
  51.     NSTextField*    countField;
  52.     NSString*        path;
  53.     BOOL        autoSort;
  54.     BOOL        dragUnscaled;
  55.     BOOL        highlightDirs;
  56.     BOOL        showHidden;
  57.     DirArray*        dirArray;
  58.     NSArray*        lazyRow;
  59.     }
  60.  
  61. + (void)launchDir:(NSString*)dirname;
  62.  
  63. @end
  64.  
  65. #endif // __DirWindow_h
  66.