text: //
  //  QSCommandInterfaceController.h
  //  QSCubeInterfaceElement
  //
  //  Created by Nicholas Jitkoff on 6/24/07.
  
  //
  
  #import <Cocoa/Cocoa.h>
  
  @interface QSCommandInterfaceController : NSWindowController {
    IBOutlet NSController *pSelector;
    IBOutlet NSController *sSelector;
    QSCommand *command;
    IBOutlet NSTextField *searchField;
    
    IBOutlet QSSearchObjectView *		dSelector;
    IBOutlet QSSearchObjectView *		aSelector;
    IBOutlet QSSearchObjectView *		iSelector;
    
    IBOutlet NSProgressIndicator *progressIndicator;
    IBOutlet id commandView;
    IBOutlet QSMenuButton *menuButton;
    NSTimer *hideTimer;
  	NSTimer *actionsUpdateTimer;
  	NSTimer *clearTimer;
  	BOOL hidingWindow;
  	BOOL preview;
  }
  - (BOOL)preview;
  - (void)setPreview: (BOOL)flag;
  
  
  - (NSSize) maxIconSize;
  - (IBAction)hideWindows:(id)sender;
  - (void)updateActionsNow;
  - (void)hideMainWindow:(id)sender;
  - (void)showMainWindow:(id)sender;
  
  - (IBAction)activate:(id)sender;
  - (void)updateActions;
  
  - (void)shortCircuit:(id)sender;
  - (void)activate:(id)sender;
  - (void)updateViewLocations;
  - (void)activateInTextMode:(id)sender;
  - (void)updateIndirectObjects;
  - (IBAction)showTasks:(id)sender;
  - (void)invalidateHide;
  
  - (NSProgressIndicator *)progressIndicator;
  - (QSCommand *)currentCommand;
  - (IBAction)executeCommand:(id)sender;
  - (void)executeCommandThreaded;
  - (void)executePartialCommand:(NSArray *)array;
  
  - (void)setCommand:(QSCommand *)command;
  - (void)setCommandWithArray:(NSArray *)array;
  
  - (void)activate:(id)sender;
  - (void)selectObject:(QSBasicObject *)object;
  - (void)searchObjectChanged:(NSNotification*)notif;
  - (void)showIndirectSelector:(id)sender;
  
  - (void)hideIndirectSelector:(id)sender;
  - (QSSearchObjectView *)dSelector;
  - (QSSearchObjectView *)aSelector;
  - (QSSearchObjectView *)iSelector;
  - (QSMenuButton *)menuButton;
  - (void)fireActionUpdateTimer;
  - (void)searchArray:(NSMutableArray *)array;
  - (void)hideMainWindowFromExecution:(id)sender;
  - (void)hideMainWindowFromCancel:(id)sender;
  - (void)hideMainWindowFromFade:(id)sender; 	
  - (void)setClearTimer;
  - (void)executePartialCommand:(NSArray *)array;
  - (void)actionActivate:(id)sender;
  - (void)showArray:(NSMutableArray *)array;
  - (QSBasicObject *)selection;
  - (void)encapsulateCommand;
  - (void)encapsulateCommand:(id)sender;
  - (void)executeCommandAndContinue:(id)sender;
  - (IBAction)executeCommand:(id)sender;
  
  - (IBAction)searchForString:(id)sender;
    
    @end
  