Commit a8ccce67 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

macosx: renderer: add unique identifier

(cherry picked from commit c8eb4d24)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 31f61064
......@@ -49,6 +49,8 @@
*/
- (NSString*)name;
- (NSString*)identifier;
/**
The iconURI of the renderer item
*/
......
......@@ -55,6 +55,14 @@
return [NSString stringWithUTF8String:name];
}
- (NSString*)identifier
{
const char *sout = vlc_renderer_item_sout(_rendererItem);
if (!sout)
return nil;
return [NSString stringWithUTF8String:sout];
}
- (NSString*)iconURI
{
const char *uri = vlc_renderer_item_icon_uri(_rendererItem);
......
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