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

LibVLCpp: Add binding to libvlc_event_type_name

parent c2270980
......@@ -25,6 +25,7 @@
#include <cassert>
#include <stdlib.h>
#include <vlc/libvlc.h>
namespace LibVLCpp
{
......@@ -45,6 +46,10 @@ namespace LibVLCpp
T* m_internalPtr;
};
inline const char* eventName( libvlc_event_type_t event )
{
return libvlc_event_type_name( event );
}
}
#endif // VLCPP_H
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