//
//  CommonWindowController.h
//  SimpleSearchApp
//
//  Created by ub on 24.07.09.
//  Copyright 2009 Udo Borkowski. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface CommonWindowController : NSWindowController {
	NSString* searchString;
	NSMetadataQuery* query;
}

- (NSPredicate*)predicateForString:queryString;
- (BOOL)updatePredicate;

@property (copy) NSString* searchString;
@property (retain) NSMetadataQuery* query;

@end
