forked from uPlayer/uPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlayerDocument.mm
More file actions
46 lines (33 loc) · 848 Bytes
/
PlayerDocument.mm
File metadata and controls
46 lines (33 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
// UPlayer.m
// uPlayer
//
// Created by liaogang on 15/1/27.
// Copyright (c) 2015年 liaogang. All rights reserved.
//
#import "PlayerTypeDefines.h"
#import "PlayerDocument.h"
#import <Foundation/Foundation.h>
#import "serialize.h"
@interface PlayerDocument ()
@end
@implementation PlayerDocument
-(instancetype)init
{
self = [super init];
if (self)
{
self.windowName = NSLocalizedString(@"uPlayer windows name", nil);
self.playerlList = [[PlayerlList alloc]init];
self.resumeAtReboot = TRUE;
self.playTime = -1;
self.trackSongsWhenPlayStarted = TRUE;
self.lastFmEnabled = FALSE;
self.volume = 1.0;
self.playerQueue=[[PlayerQueue alloc]init];
self.playingIndexList = -1;
self.playingIndexTrack = -1;
}
return self;
}
@end