Commit c8eb4d24 authored by Thomas Guillem's avatar Thomas Guillem

macosx: renderer: add unique identifier

parent b41fa338
...@@ -49,6 +49,8 @@ ...@@ -49,6 +49,8 @@
*/ */
- (NSString*)name; - (NSString*)name;
- (NSString*)identifier;
/** /**
The iconURI of the renderer item The iconURI of the renderer item
*/ */
......
...@@ -55,6 +55,14 @@ ...@@ -55,6 +55,14 @@
return [NSString stringWithUTF8String:name]; return [NSString stringWithUTF8String:name];
} }
- (NSString*)identifier
{
const char *sout = vlc_renderer_item_sout(_rendererItem);
if (!sout)
return nil;
return [NSString stringWithUTF8String:sout];
}
- (NSString*)iconURI - (NSString*)iconURI
{ {
const char *uri = vlc_renderer_item_icon_uri(_rendererItem); 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