2025-01-02 13:30:09 +01:00
|
|
|
/* HBTableView.h $
|
2019-02-05 14:03:27 +01:00
|
|
|
|
|
|
|
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>
|
|
|
|
|
2024-02-26 17:03:25 +01:00
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2019-02-05 14:03:27 +01:00
|
|
|
@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
|
2024-02-26 17:03:25 +01:00
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|