summaryrefslogtreecommitdiffstats
path: root/macosx/HBTableView.h
blob: 111a5a12cb1461ca237890d12145f06e28aef29e (plain)
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
/*  HBQueueOutlineView.h $

 This file is part of the HandBrake source code.
 Homepage: <http://handbrake.fr/>.
 It may be used under the terms of the GNU General Public License. */

#import <Cocoa/Cocoa.h>

@protocol HBTableViewDelegate <NSTableViewDelegate>
@optional
- (void)HB_deleteSelectionFromTableView:(NSTableView *)tableView;
- (void)HB_expandSelectionFromTableView:(NSTableView *)tableView;
- (void)HB_collapseSelectionFromTableView:(NSTableView *)tableView;
@end

@interface HBTableView : NSTableView

/**
 *  An index set containing the indexes of the targeted rows.
 *  If the selected row indexes contain the clicked row index, it returns every selected row,
 *  otherwise it returns only the clicked row index.
 */
@property (nonatomic, readonly, copy) NSIndexSet *targetedRowIndexes;

@end