Commit bfea8165 authored by Damien Fouilleul's avatar Damien Fouilleul

mozilla: enable 'log' object

parent 182ee591
...@@ -61,6 +61,7 @@ const NPUTF8 * const LibvlcRootNPObject::propertyNames[] = ...@@ -61,6 +61,7 @@ const NPUTF8 * const LibvlcRootNPObject::propertyNames[] =
{ {
"audio", "audio",
"input", "input",
"log",
"playlist", "playlist",
"video", "video",
"VersionInfo", "VersionInfo",
...@@ -72,6 +73,7 @@ enum LibvlcRootNPObjectPropertyIds ...@@ -72,6 +73,7 @@ enum LibvlcRootNPObjectPropertyIds
{ {
ID_audio = 0, ID_audio = 0,
ID_input, ID_input,
ID_log,
ID_playlist, ID_playlist,
ID_video, ID_video,
ID_VersionInfo, ID_VersionInfo,
...@@ -87,6 +89,9 @@ RuntimeNPObject::InvokeResult LibvlcRootNPObject::getProperty(int index, NPVaria ...@@ -87,6 +89,9 @@ RuntimeNPObject::InvokeResult LibvlcRootNPObject::getProperty(int index, NPVaria
case ID_input: case ID_input:
OBJECT_TO_NPVARIANT(NPN_RetainObject(inputObj), result); OBJECT_TO_NPVARIANT(NPN_RetainObject(inputObj), result);
return INVOKERESULT_NO_ERROR; return INVOKERESULT_NO_ERROR;
case ID_log:
OBJECT_TO_NPVARIANT(NPN_RetainObject(logObj), result);
return INVOKERESULT_NO_ERROR;
case ID_playlist: case ID_playlist:
OBJECT_TO_NPVARIANT(NPN_RetainObject(playlistObj), result); OBJECT_TO_NPVARIANT(NPN_RetainObject(playlistObj), result);
return INVOKERESULT_NO_ERROR; return INVOKERESULT_NO_ERROR;
......
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