cog/Preferences/General/PrefPaneController.m

55 lines
1.0 KiB
Matlab
Raw Normal View History

2006-09-04 18:06:23 +00:00
//
// PreferencesController.m
// Preferences
//
// Created by Vincent Spader on 9/4/06.
// Copyright 2006 Vincent Spader. All rights reserved.
2006-09-04 18:06:23 +00:00
//
#import "PrefPaneController.h"
#import "SS_PreferencePaneProtocol.h"
@implementation PrefPaneController
+ (NSArray *)preferencePanes
{
BOOL loaded;
PrefPaneController *prefPaneController = [[PrefPaneController alloc] init];
loaded = [NSBundle loadNibNamed:@"Preferences" owner:prefPaneController];
2007-02-25 02:23:48 +00:00
return [NSArray arrayWithObjects: [prefPaneController hotKeyPane], [prefPaneController fileDrawerPane], [prefPaneController remotePane], [prefPaneController updatesPane], [prefPaneController outputPane], [prefPaneController scrobblerPane], nil];
2006-09-04 18:06:23 +00:00
}
- (HotKeyPane *)hotKeyPane
{
return hotKeyPane;
}
- (FileDrawerPane *)fileDrawerPane
{
return fileDrawerPane;
}
- (RemotePane *)remotePane
{
return remotePane;
}
- (UpdatesPane *)updatesPane
{
return updatesPane;
}
- (OutputPane *)outputPane
{
return outputPane;
}
2007-02-25 02:23:48 +00:00
- (ScrobblerPane *)scrobblerPane
{
return scrobblerPane;
}
2006-09-04 18:06:23 +00:00
@end