Previous commit fix (add new src files)
This commit is contained in:
parent
584710ffb1
commit
0b4b5df86f
2 changed files with 48 additions and 0 deletions
16
Preferences/General/PlaylistBehaviorArrayController.h
Normal file
16
Preferences/General/PlaylistBehaviorArrayController.h
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
//
|
||||||
|
// PlaylistBehaviorArrayController.h
|
||||||
|
// General
|
||||||
|
//
|
||||||
|
// Created by Vasily Fedoseyev on 5/18/08.
|
||||||
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Cocoa/Cocoa.h>
|
||||||
|
|
||||||
|
|
||||||
|
@interface PlaylistBehaviorArrayController : NSArrayController {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
32
Preferences/General/PlaylistBehaviorArrayController.m
Normal file
32
Preferences/General/PlaylistBehaviorArrayController.m
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
//
|
||||||
|
// 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",
|
||||||
|
@"clearAndPlay", @"slug",nil]];
|
||||||
|
[self addObject:
|
||||||
|
[NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
|
NSLocalizedStringFromTableInBundle(@"Enqueue", nil, [NSBundle bundleForClass:[self class]], @"") , @"name",
|
||||||
|
@"enqueue", @"slug",nil]];
|
||||||
|
[self addObject:
|
||||||
|
[NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
|
NSLocalizedStringFromTableInBundle(@"Enqueue and play", nil, [NSBundle bundleForClass:[self class]], @"") , @"name",
|
||||||
|
@"enqueueAndPlay", @"slug",nil]];
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
Loading…
Reference in a new issue