35 lines
699 B
Matlab
35 lines
699 B
Matlab
|
//
|
||
|
// PreferencesController.m
|
||
|
// Preferences
|
||
|
//
|
||
|
// Created by Zaphod Beeblebrox on 9/4/06.
|
||
|
// Copyright 2006 __MyCompanyName__. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "PrefPaneController.h"
|
||
|
#import "SS_PreferencePaneProtocol.h"
|
||
|
|
||
|
@implementation PrefPaneController
|
||
|
|
||
|
+ (NSArray *)preferencePanes
|
||
|
{
|
||
|
BOOL loaded;
|
||
|
|
||
|
PrefPaneController *prefPaneController = [[PrefPaneController alloc] init];
|
||
|
loaded = [NSBundle loadNibNamed:@"Preferences" owner:prefPaneController];
|
||
|
|
||
|
return [NSArray arrayWithObjects: [prefPaneController hotKeyPane], [prefPaneController fileDrawerPane], nil];
|
||
|
}
|
||
|
|
||
|
- (HotKeyPane *)hotKeyPane
|
||
|
{
|
||
|
return hotKeyPane;
|
||
|
}
|
||
|
|
||
|
- (FileDrawerPane *)fileDrawerPane
|
||
|
{
|
||
|
return fileDrawerPane;
|
||
|
}
|
||
|
|
||
|
@end
|