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

MediaList: Expose a type that can be used with a std::lock_guart

parent 9ed0f8cd
......@@ -26,6 +26,8 @@
#include "common.hpp"
#include <mutex>
namespace VLC
{
......@@ -37,6 +39,8 @@ class MediaLibrary;
class MediaList : public Internal<libvlc_media_list_t>
{
public:
using Lock = std::lock_guard<MediaList>;
/**
* Check if 2 MediaList objects contain the same libvlc_media_list_t.
* \param another another MediaList
......
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