Commit 224142eb authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaCX: Add missing subItems getter

parent f4acbed9
......@@ -24,6 +24,7 @@
#include "InstanceCX.hpp"
#include "EventManagerCX.hpp"
#include "MediaCX.hpp"
#include "MediaListCX.hpp"
#include <collection.h>
namespace libVLCX
......@@ -107,6 +108,11 @@ namespace libVLCX
return MarshallVector<MediaTrack, VLC::MediaTrack>(m_media.tracks());
}
MediaList^ Media::subItems()
{
return ref new MediaList(*m_media.subitems());
}
Media::Media(const VLC::Media& media)
: m_media(media)
{
......
......@@ -30,6 +30,7 @@ namespace libVLCX
{
ref class MediaEventManager;
ref class Instance;
ref class MediaList;
public enum class MediaState
{
......@@ -286,6 +287,8 @@ namespace libVLCX
*/
Windows::Foundation::Collections::IVector<MediaTrack^>^ tracks();
MediaList^ subItems();
private:
~Media(){}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment