source: trunk/SapphireBrowser.h @ 8

Revision 8, 1.3 KB checked in by gbooker, 7 years ago (diff)

Predicate matching.

Line 
1//
2//  SapphireBrowser.h
3//  Sapphire
4//
5//  Created by pnmerrill on 6/20/07.
6//  Copyright 2007 __MyCompanyName__. All rights reserved.
7//
8
9#import <Cocoa/Cocoa.h>
10#import <BackRow/BRMediaMenuController.h>
11#import "SapphirePredicates.h"
12
13@class BRRenderScene, BRRenderLayer;
14
15@class SapphireDirectoryMetaData, SapphireMetaDataCollection;
16@protocol SapphireMetaDataDelegate;
17
18@interface SapphireBrowser : BRMediaMenuController <SapphireMetaDataDelegate>
19{
20        NSMutableArray                          * _names ;
21        SapphireDirectoryMetaData       *metaData;
22        metaDataPredicate                       predicate;
23}
24
25- (id) initWithScene: (BRRenderScene *) scene metaData: (SapphireDirectoryMetaData *)meta;
26- (id) initWithScene: (BRRenderScene *) scene metaData: (SapphireDirectoryMetaData *)meta predicate:(metaDataPredicate)newPredicate;
27- (void) dealloc;
28/*
29- (void) willBePushed;
30- (void) wasPushed;
31- (void) willBePopped;
32- (void) wasPopped;
33- (void) willBeBuried;
34- (void) wasBuriedByPushingController: (BRLayerController *) controller;
35- (void) willBeExhumed;
36- (void) wasExhumedByPoppingController: (BRLayerController *) controller;
37*/
38- (long) itemCount;
39- (id<BRMenuItemLayer>) itemForRow: (long) row;
40- (NSString *) titleForRow: (long) row;
41- (long) rowForTitle: (NSString *) title;
42
43- (void) itemSelected: (long) row;
44
45//- (id<BRMediaPreviewController>) previewControllerForItem: (long) item;
46
47@end
Note: See TracBrowser for help on using the repository browser.