2008-05-18 09:40:33 +00:00
|
|
|
//
|
|
|
|
// PlaylistBehaviorArrayController.m
|
|
|
|
// General
|
|
|
|
//
|
|
|
|
// Created by Vasily Fedoseyev on 5/18/08.
|
|
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "PlaylistBehaviorArrayController.h"
|
|
|
|
|
|
|
|
|
|
|
|
@implementation PlaylistBehaviorArrayController
|
|
|
|
- (void)awakeFromNib
|
|
|
|
{
|
|
|
|
[self removeObjects:[self arrangedObjects]];
|
|
|
|
|
|
|
|
[self addObject:
|
|
|
|
[NSDictionary dictionaryWithObjectsAndKeys:
|
|
|
|
NSLocalizedStringFromTableInBundle(@"Clear playlist and play", nil, [NSBundle bundleForClass:[self class]], @"") , @"name",
|
2008-06-12 22:48:08 +00:00
|
|
|
@"clearAndPlay", @"preference",nil]];
|
2008-05-18 09:40:33 +00:00
|
|
|
[self addObject:
|
|
|
|
[NSDictionary dictionaryWithObjectsAndKeys:
|
|
|
|
NSLocalizedStringFromTableInBundle(@"Enqueue", nil, [NSBundle bundleForClass:[self class]], @"") , @"name",
|
2008-06-12 22:48:08 +00:00
|
|
|
@"enqueue", @"preference",nil]];
|
2008-05-18 09:40:33 +00:00
|
|
|
[self addObject:
|
|
|
|
[NSDictionary dictionaryWithObjectsAndKeys:
|
|
|
|
NSLocalizedStringFromTableInBundle(@"Enqueue and play", nil, [NSBundle bundleForClass:[self class]], @"") , @"name",
|
2008-06-12 22:48:08 +00:00
|
|
|
@"enqueueAndPlay", @"preference",nil]];
|
2008-05-18 09:40:33 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|