home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / Rhapsody / Graphics / Morph-2.0a / InspectorController.h < prev    next >
Encoding:
Text File  |  1998-01-06  |  600 b   |  27 lines

  1. #import <AppKit/AppKit.h>
  2. #import "Inspector.h"
  3.  
  4. #define NOTIFICATION_OBJECTS_UPDATED   @"objectsUpdated"
  5. #define NOTIFICATION_SELECTION_CHANGED @"selectionChanged"
  6.  
  7. @protocol InspectorTarget
  8. - (NSArray *)currentSelection;
  9. @end
  10.  
  11. @interface InspectorController : NSObject
  12. {
  13.     IBOutlet NSBox    *inspectorBox;
  14.     IBOutlet NSView   *emptySelectionInspectorView;
  15.     IBOutlet NSWindow *offWin;
  16.     NSMutableArray       *inspectors;
  17. }
  18. + (InspectorController *) sharedInspectorController;
  19.  
  20. - init;
  21.  
  22. - (NSWindow *) panel;
  23. - (void) registerInspector:(Inspector *)inspector;
  24.  
  25. - (void) revert:(id)sender;
  26. @end
  27.