forked from uPlayer/uPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUPlayer.h
More file actions
51 lines (33 loc) · 1.04 KB
/
UPlayer.h
File metadata and controls
51 lines (33 loc) · 1.04 KB
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
47
48
49
50
51
//
// UPlayer.m
// uPlayer
//
// Created by liaogang on 15/1/27.
// Copyright (c) 2015年 liaogang. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "PlayerTypeDefines.h"
#import "PlayerTrack.h"
#import "PlayerDocument.h"
#import "PlayerLayout.h"
#import "PlayerEngine.h"
#import "PlayerList.h"
@interface UPlayer : NSObject
@property (nonatomic,strong) PlayerDocument *document;
@property (nonatomic,strong) PlayerLayout *layout;
@property (nonatomic,strong) PlayerEngine *engine;
@property (nonatomic,strong) PlayerTrack *playing;
@end
@interface PlayerEngine (playTrack)
-(void)playTrackInfo:(PlayerTrack*)track pauseAfterInit:(BOOL)pfi;
@end
#if defined(__cplusplus)
extern "C" {
#endif /* defined(__cplusplus) */
UPlayer *player(); // the global and only instance.
void playTrack(PlayerTrack *track);
void playTrackPauseAfterInit(PlayerList *list,PlayerTrack *track);
void collectInfo(PlayerDocument *d , PlayerEngine *e);
#if defined(__cplusplus)
}
#endif /* defined(__cplusplus) */