VLCMediaListPlayer.h 801 B

123456789101112131415161718192021222324252627282930313233343536
  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. @class VLCMedia, VLCMediaPlayer, VLCMediaList;
  9. @interface VLCMediaListPlayer : NSObject {
  10. void *instance;
  11. VLCMedia *_rootMedia;
  12. VLCMediaPlayer *_mediaPlayer;
  13. VLCMediaList *_mediaList;
  14. }
  15. @property (readwrite, retain) VLCMediaList *mediaList;
  16. /**
  17. * rootMedia - Use this method to play a media and its subitems.
  18. * This will erase mediaList.
  19. * Setting mediaList will erase rootMedia.
  20. */
  21. @property (readwrite, retain) VLCMedia *rootMedia;
  22. @property (readonly, retain) VLCMediaPlayer *mediaPlayer;
  23. /**
  24. * Basic play and stop are here. For other method, use the mediaPlayer.
  25. * This may change.
  26. */
  27. - (void)play;
  28. - (void)stop;
  29. @end