forked from tomcool420/SMFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSMFCustomQueryMenu.h
32 lines (30 loc) · 920 Bytes
/
SMFCustomQueryMenu.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// SMFCustomQueryMenu.h
// SMFramework
//
// Created by Thomas Cool on 5/10/11.
// Copyright 2011 Thomas Cool. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Backrow/AppleTV.h"
#import "SMFMediaMenuController.h"
typedef enum _kSMFSearchStatus
{
kSMFSearchStarted=0,
kSMFSearchDone,
}kSMFSearchStatus;
@class SMFCustomQueryMenu;
@protocol SMFCustomQueryMenuDelegate
-(void)queryMenu:(SMFCustomQueryMenu *)q itemSelected:(NSObject *)it;
@end
@interface SMFCustomQueryMenu : BRMediaMenuController {
BRTextEntryControl * _entryControl;
NSString * _lastSearchedQuery;
NSObject<SMFCustomQueryMenuDelegate> * _delegate;
BRWaitSpinnerControl *_spi;
}
@property (copy)NSString *lastSearchedQuery;
@property (assign)NSObject<SMFCustomQueryMenuDelegate> * delegate;
@property (readonly)BRWaitSpinnerControl * spinner;
-(void)search:(NSString *)searchString;
@end