forked from Ascoware/get-iplayer-automator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNPHistoryWindowController.h
44 lines (30 loc) · 1.03 KB
/
NPHistoryWindowController.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
33
34
35
36
37
38
39
40
41
//
// NPHistoryWindowController.h
// Get_iPlayer GUI
//
// Created by LFS on 8/6/16.
//
//
#import <Cocoa/Cocoa.h>
@interface NPHistoryTableViewController : NSWindowController <NSTableViewDataSource>
{
IBOutlet NSTableView *historyTable;
NSMutableArray *historyDisplayArray;
NSArray *programmeHistoryArray;
}
-(NSInteger)numberOfRowsInTableView:(NSTableView *)tableView;
-(id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row;
-(void)loadDisplayData;
-(BOOL)showITVProgramme:(ProgrammeHistoryObject *)np;
-(BOOL)showBBCTVProgramme:(ProgrammeHistoryObject *)np;
-(BOOL)showBBCRadioProgramme:(ProgrammeHistoryObject *)np;
@end
@interface HistoryDisplay : NSObject
{
NSString *programmeNameString;
NSString *networkNameString;
int lineNumber;
int pageNumber;
}
- (instancetype)initWithItemString:(NSString *)aItemString andTVChannel:(NSString *)aTVChannel andLineNumber:(int)aLineNumber andPageNumber:(int)aPageNumber;
@end