mirror of
https://github.com/libretro/Play-.git
synced 2024-12-12 19:22:30 +00:00
33 lines
565 B
Plaintext
33 lines
565 B
Plaintext
#import "VfsManagerViewController.h"
|
|
|
|
@implementation VfsManagerViewController
|
|
|
|
-(id)init
|
|
{
|
|
if(self = [super initWithNibName: @"VfsManagerView" bundle: nil])
|
|
{
|
|
|
|
}
|
|
return self;
|
|
}
|
|
|
|
-(void)awakeFromNib
|
|
{
|
|
[bindingsTableView setDoubleAction: @selector(onTableViewDblClick:)];
|
|
}
|
|
|
|
-(void)viewWillDisappear
|
|
{
|
|
[bindings save];
|
|
}
|
|
|
|
-(void)onTableViewDblClick: (id)sender
|
|
{
|
|
int selectedIndex = [bindingsTableView clickedRow];
|
|
if(selectedIndex == -1) return;
|
|
VfsManagerBinding* binding = [bindings getBindingAt: selectedIndex];
|
|
[binding requestModification];
|
|
}
|
|
|
|
@end
|