home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Utilities / Fiend-1.4.1-src / IconView.h < prev    next >
Encoding:
Text File  |  1995-09-05  |  2.4 KB  |  104 lines

  1. #import <appkit/appkit.h>
  2.  
  3. #define ORIG_SCREEN_HEIGHT    (832)
  4.  
  5. @interface IconView : View
  6. {
  7.     id            image;
  8.     id            tempImage;
  9.     id            dockHilite;
  10.     id            shelfHilite;
  11.     id            shelfAppHilite;
  12.     id            titleCell;
  13.     id            dockMgrView;
  14.     int            appPid;
  15.     int            appIcon;
  16.     int            appCtxt;
  17.     int            savedOnDock;
  18.     int            statReturn;
  19.     void        *data;
  20.     BOOL        fiendLaunch;
  21.     BOOL        ghost;
  22.     BOOL        selected;
  23.     BOOL        onDock;
  24.     BOOL        isApp;
  25.     BOOL        isLaunched;
  26.     BOOL        preDelete;
  27.     BOOL        autoLaunch;
  28.     BOOL        autoScan;
  29.     BOOL        sticky;
  30.     BOOL        appWasActive;
  31.     BOOL        appWasVisible;
  32.     NXSize        imageMax;
  33.     NXSize        hiliteMax;
  34.     NXPoint        imagePoint;
  35.     NXPoint        hilitePoint;
  36.     NXSize        screenSize;
  37.     NXSize        oldSize;
  38.     unsigned int    length;
  39. }
  40.  
  41. + processTable;
  42. + resetProcessTable;
  43. + resetCachedDockImages;
  44. + setCachedDockImageSize:(NXSize *)aSize;
  45. + resetCachedShelfImages;
  46. + copyIconView:aView;
  47. + getImageForPath:(const char *)path fileIcon:(BOOL)flag zone:(NXZone *)aZone;
  48. + (int)getCtxtForPid:(int)pid;
  49. + (int)getIconForPid:(int)pid;
  50. + getCtxt:(int *)ctxt pid:(int *)appPid andIcon:(int *)appIcon forPath:(char *)path;
  51. + (int)getLastPidFor:(char *)aName;
  52. + (BOOL)pidExists:(int)testPid;
  53. + getExecPath:(char *)execPath from:(const char *)theAppName;
  54. + getShortName:(char *)shortName from:(const char *)theAppName;
  55.  
  56. - initFrame:(const NXRect *)newFrame image:anImage
  57.        data:(const void *)someData andLength:(unsigned int) newLength
  58.     useSize:(BOOL) sizeValid onDock:(BOOL)dockFlag;
  59.  
  60. - initFromDragContext:(id <NXDraggingInfo>)context andSize:(NXSize *)aSize onDock:(BOOL)dockFlag;
  61.  
  62. - (void) setImageSize;
  63. - getImagePoint:(NXPoint *) imageLoc andHilitePoint:(NXPoint *) hiliteLoc;
  64. - (BOOL)isApp;
  65. - getData:(void **) aPtr andLength:(unsigned int *) aLength;
  66. - getAppPid;
  67. - (int)appPid;
  68. - vanishIcon;
  69. - unvanishIcon;
  70. - image;
  71. - (const char *)data;
  72. - setImage:anImage;
  73. - setGhost:(BOOL) newGhost;
  74. - (BOOL)isGhost;
  75. - (BOOL)autoScan;
  76. - setAutoScan:(BOOL)flag;
  77. - setAutoLaunch:(BOOL)flag;
  78. - (BOOL)autoLaunch;
  79. - setPreDelete:(BOOL)flag;
  80. - setFiendLaunch:(BOOL)flag;
  81. - (BOOL)fiendLaunch;
  82. - refreshIcon;
  83. - (BOOL)preDelete;
  84. - (BOOL)onDock;
  85. - (int) state;
  86. - setState:(int) flag;
  87. - setDockMgrView:aView;
  88. - dockMgrView;
  89. - (BOOL)isLaunched;
  90. - setLaunched:(BOOL)flag;
  91. - (BOOL)isSticky;
  92. - setSticky:(BOOL)flag;
  93. - (int)appCtxt;
  94. - (BOOL)appWasActive;
  95. - (BOOL)appWasVisible;
  96. - (BOOL)appIsVisible;
  97. - getScreenStatus;
  98. - restoreIconImage;
  99. - setCtxt:(int)c pid:(int)p andIcon:(int)i;
  100. @end
  101.  
  102. BOOL onNeXTDock(const char *path, int height);
  103.  
  104.