source: trunk/SapphireBrowser.h @ 123

Last change on this file since 123 was 123, checked in by pmerrill, 10 years ago
  • changed MyCompany? name to www.nanopi.net
  • added xml importing to the file import tool
File size: 1.5 KB
Line 
1//
2//  SapphireBrowser.h
3//  Sapphire
4//
5//  Created by pnmerrill on 6/20/07.
6//  Copyright 2007 __www.nanopi.net__. 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, BRTVShowsSortControl, SapphireSettings;
16@protocol SapphireMetaDataDelegate;
17
18@interface SapphireBrowser : BRMediaMenuController <SapphireMetaDataDelegate>
19{
20        NSMutableArray                          * _names ;
21        NSMutableArray                          *items ;
22        SapphireDirectoryMetaData       *metaData;
23        SapphirePredicate                       *predicate;
24        BRTVShowsSortControl            *sort;
25        SapphireFileMetaData            *currentPlayFile;
26        SapphireSettings                        *settings;
27        int                                                     dirCount;
28        int                                                     fileCount;
29}
30
31- (id) initWithScene: (BRRenderScene *) scene metaData: (SapphireDirectoryMetaData *)meta;
32- (id) initWithScene: (BRRenderScene *) scene metaData: (SapphireDirectoryMetaData *)meta predicate:(SapphirePredicate *)newPredicate;
33- (void) dealloc;
34
35- (void) willBePushed;
36- (void) wasPushed;
37- (void) willBePopped;
38- (void) wasPopped;
39- (void) willBeBuried;
40- (void) wasBuriedByPushingController: (BRLayerController *) controller;
41- (void) willBeExhumed;
42- (void) wasExhumedByPoppingController: (BRLayerController *) controller;
43
44- (long) itemCount;
45- (id<BRMenuItemLayer>) itemForRow: (long) row;
46- (NSString *) titleForRow: (long) row;
47- (long) rowForTitle: (NSString *) title;
48
49- (void) itemSelected: (long) row;
50
51//- (id<BRMediaPreviewController>) previewControllerForItem: (long) item;
52
53@end
Note: See TracBrowser for help on using the repository browser.