2008-02-10 20:34:29 +00:00
|
|
|
//
|
|
|
|
// SpotlightSearchController.h
|
|
|
|
// Cog
|
|
|
|
//
|
|
|
|
// Created by Matthew Grinshpun on 10/02/08.
|
|
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
@class SpotlightWindowController;
|
|
|
|
|
|
|
|
@interface SpotlightSearchController : NSObject {
|
|
|
|
IBOutlet NSArrayController *playlistController;
|
|
|
|
IBOutlet SpotlightWindowController *spotlightWindowController;
|
2008-02-11 10:29:21 +00:00
|
|
|
IBOutlet NSPathControl *pathControl;
|
2008-02-10 20:34:29 +00:00
|
|
|
NSMetadataQuery *query;
|
|
|
|
NSString *searchString;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (IBAction)addToPlaylist:(id)sender;
|
2008-02-11 10:29:21 +00:00
|
|
|
- (IBAction)changeSearchPath:(id)sender;
|
2008-02-10 20:34:29 +00:00
|
|
|
|
|
|
|
- (void)performSearch;
|
|
|
|
|
|
|
|
@property(retain) NSMetadataQuery *query;
|
|
|
|
@property(copy) NSString *searchString;
|
|
|
|
|
|
|
|
@end
|