diff options
Diffstat (limited to 'macosx/HBTableView.h')
-rw-r--r-- | macosx/HBTableView.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/macosx/HBTableView.h b/macosx/HBTableView.h new file mode 100644 index 000000000..111a5a12c --- /dev/null +++ b/macosx/HBTableView.h @@ -0,0 +1,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 |