home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Utilities / Fiend-1.4.1-src / Dock.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-20  |  2.4 KB  |  90 lines

  1. #import <appkit/appkit.h>
  2.  
  3. #define DOCKNAMELEN        (20)
  4. #define DOCK_NONE        (0x00000000)
  5. #define DOCK_ALNCH        (0x00000001)
  6. #define DOCK_ASCAN        (0x00000002)
  7. #define DOCK_STICKY        (0x00000004)
  8.  
  9. struct winRec    {
  10.     int        winNum;
  11.     float    xOffset;
  12.     float    yOffset;
  13. };
  14.  
  15. @interface Dock : Object
  16. {
  17.     char    name[DOCKNAMELEN+1];
  18.     id        dockWindowList;
  19.     id        fileNameStore;
  20.     id        filePositionStore;
  21.     id        launchFlagStore;
  22.     id        appIconStore;
  23.     id        dockMgrView;
  24.     id        nameWinHash;
  25.     id        fiendSound;
  26.     id        destroySound;
  27.     NXRect    frame;
  28.     BOOL    sticky;
  29.     BOOL    isLoaded;
  30. }
  31.  
  32. - initMgrView:theDockMgrView;
  33. - setSticky;
  34. - (BOOL)isLoaded;
  35. - setIsLoaded:(BOOL)flag;
  36. - getOffset:(NXPoint *)offset forWindow:aWindow;
  37. - addStickyWindow:aWindow atOffset:(NXPoint *)offset;
  38. - setFiendSound:fSound destroySound:dSound;
  39. - dockWindowList;
  40. - nameWinHash;
  41. - scanIcons;
  42. - restoreIcons;
  43. - empty;
  44. - performAutolaunches;
  45. - removeWindow:aWin;
  46. - addWindow:aWin withPath:(char *)aPath;
  47. - (int)iconCount;
  48. - deleteSelectedCells;
  49. - fileNameStore;
  50. - appIconStore;
  51. - filePositionStore;
  52. - launchFlagStore;
  53. - createWindowsFromStores:(BOOL)doRegs stickyWindows:(BOOL)doStickers;
  54. - vanishIcons:(BOOL)flag;
  55. - checkLaunchStatus;
  56. - setLaunchFlagsFor:view;
  57. - redisplayIcons;
  58. - removeStickyWindow:aWindow;
  59. - (int)addToWinRecArray:(struct winRec **)winRecs presentCount:(int *)pcount;
  60. - createWindowForPath:(const char *)thePath newFrame:(NXRect *)newFrame;
  61. - createWindowWithFrame:(NXRect *)theFrame;
  62. - createIconViewForPath:(const char *)path withFrame:(NXRect *)iconFrame;
  63. - findWindowForName:(const char *)name;
  64. - getNextFrame:(NXRect *)theFrame;
  65. - getOffset:(NXPoint *)p fromFrame:(NXRect *)f;
  66. - (BOOL)isShowing;
  67. - rotateOffsets;
  68. - setWindowTier:(int)aTier;
  69. - setFrame:(const NXRect *)frame;
  70. - getFrame:(NXRect *)frame;
  71. - deleteView:aView quickly:(BOOL)flag unvanish:(BOOL)flag;
  72. - deleteView:aView unvanish:(BOOL)flag;
  73. - addWindowForPath:(NXAtom)pathAtom at:(NXRect *)aRect;
  74. - setDockMgrView:aView;
  75. - updateWindows:(NXPoint *)p usePlace:(BOOL)usePlace followLevels:(BOOL)flag;
  76. - select:(BOOL)flag all:sender;
  77. - viewAtPosition:(NXRect *)checkRect besides:aView;
  78. - (int)hasSelectedCells;
  79. - selectedCell;
  80. - (const char *)selectedCellPath;
  81. - (int)indexOfPath:(char *)aPath exact:(BOOL)flag;
  82. - select:(BOOL)flag iconWithPath:(char *)aPath;
  83. - (int)copy:sender toPasteboard:pb andCut:(BOOL)cutFlag sndEnable:(BOOL)flag;
  84. - paste:sender sndEnable:(BOOL)flag;
  85. - paste:sender toPasteboard:pb sndEnable:(BOOL)flag;
  86. - setName:(char *)aName;
  87. - (const char *)name;
  88. @end
  89.  
  90.