]> git.sesse.net Git - vlc/blob - projects/macosx/framework/Headers/Public/VLCMediaListPlayer.h
8bf30c57ccc2897c0b61b4f09b493ff937a801f9
[vlc] / projects / macosx / framework / Headers / Public / VLCMediaListPlayer.h
1 //
2 //  VLCMediaListPlayer.h
3 //  VLCKit
4 //
5 //  Created by Pierre d'Herbemont on 8/24/09.
6 //  Copyright 2009 __MyCompanyName__. All rights reserved.
7 //
8
9 @class VLCMedia, VLCMediaPlayer, VLCMediaList;
10
11 @interface VLCMediaListPlayer : NSObject {
12     void *instance;
13     VLCMedia *_rootMedia;
14     VLCMediaPlayer *_mediaPlayer;
15     VLCMediaList *_mediaList;
16 }
17
18 @property (readwrite, retain) VLCMediaList *mediaList;
19
20 /**
21  * rootMedia - Use this method to play a media and its subitems.
22  * This will erase mediaList.
23  * Setting mediaList will erase rootMedia.
24  */
25 @property (readwrite, retain) VLCMedia *rootMedia;
26 @property (readonly, retain) VLCMediaPlayer *mediaPlayer;
27
28
29 /**
30  * Basic play and stop are here. For other method, use the mediaPlayer.
31  * This may change.
32  */
33 - (void)play;
34 - (void)stop;
35
36 /**
37  * media must be in the current media list.
38  */
39 - (void)playMedia:(VLCMedia *)media;
40
41 @end