//
//  MCQuickSearchObjectPicker.h
//  MCApplication
//
//  Created by Ali Lalani on 06/11/05.
//  Copyright 2005 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#import "MCWindowController.h"
#import "MCMenuManagerSupportProtocol.h"
#import "MCDisplayStateProtocol.h"

@class MCTableView,MCPDatabaseObjectContext,MCArrayController,MCWebKitTemplateView,MCSplitView;
@class MCQuickSearchView;
@interface MCQuickSearchObjectPicker : MCWindowController <MCMenuManagerSupport,MCDisplayState> {
//	IBOutlet NSSearchField        *searchField;
//	IBOutlet MCTableView          *resultsTable;
//	IBOutlet NSTextField          *resultsDescriptionField;
//	IBOutlet MCArrayController    *resultsController;
//	IBOutlet MCWebKitTemplateView *templateView;
//	IBOutlet MCSplitView          *splitView;
	
	NSArray *applicableEntities;
	NSArray *buttonIdentifiers;
//
//	// DISPLAY STATE
	NSMutableDictionary *displayState;
	id                   displayStateDelegate;	

	IBOutlet MCQuickSearchView *qsView;

	BOOL __ignoreShowWindow;
}
//- (NSArray *)parseSearchStringToParts:(NSString *)str;

#pragma mark Actions
//- (void)openObjects:(id)sender;
//- (IBAction)search:(id)sender;
//
//- (NSMenu *)generateSearchFieldMenu;

#pragma mark Accessors
- (MCQuickSearchView *)quickSearchView;

//- (NSSearchField *)searchField;
//- (MCPDatabaseObjectContext *)objectContext;
//
- (NSArray *)applicableEntities;
- (void)setApplicableEntities:(NSArray *)anApplicableEntities;

#pragma mark DisplayStateReadWrite
- (void)readWindowVisibilityFromDisplayState;
- (void)writeWindowVisibilityToDisplayState;
@end
