Commit b2393f00 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Lua: provide descriptions for submodules

parent 0c60f1a7
......@@ -84,10 +84,9 @@ vlc_module_begin ()
set_description( N_("Lua interpreter") )
set_category( CAT_INTERFACE )
set_subcategory( SUBCAT_INTERFACE_MAIN )
add_string( "lua-intf", "dummy",
INTF_TEXT, INTF_LONGTEXT, false )
add_string( "lua-config", "",
CONFIG_TEXT, CONFIG_LONGTEXT, false )
add_string( "lua-intf", "dummy", INTF_TEXT, INTF_LONGTEXT, false )
add_string( "lua-config", "", CONFIG_TEXT, CONFIG_LONGTEXT, false )
set_capability( "interface", 0 )
set_callbacks( Open_LuaIntf, Close_LuaIntf )
add_shortcut( "luaintf" )
......@@ -99,12 +98,14 @@ vlc_module_begin ()
set_capability( "interface", 0 )
set_callbacks( Open_LuaHTTP, Close_LuaIntf )
add_shortcut( "luahttp", "http" )
set_description( N_("Lua HTTP") )
add_submodule ()
set_section( N_("Lua CLI"), 0 )
add_string( "rc-host", NULL, RCHOST_TEXT, RCHOST_LONGTEXT, true )
add_string( "cli-host", NULL, CLIHOST_TEXT, CLIHOST_LONGTEXT, true )
set_capability( "interface", 25 )
set_description( N_("Remote control interface") )
set_callbacks( Open_LuaCLI, Close_LuaIntf )
#ifndef WIN32
add_shortcut( "luacli", "luarc", "cli", "rc" )
......@@ -123,6 +124,7 @@ vlc_module_begin ()
TELNETPWD_LONGTEXT, true )
set_capability( "interface", 0 )
set_callbacks( Open_LuaTelnet, Close_LuaIntf )
set_description( N_("Lua Telnet") )
add_shortcut( "luatelnet", "telnet" )
/* add_shortcut( "luahotkeys" ) */
......@@ -155,6 +157,7 @@ vlc_module_begin ()
add_submodule ()
set_shortname( N_("Lua Extension") )
set_description( N_("Lua Extension") )
add_shortcut( "luaextension" )
set_capability( "extension", 1 )
set_callbacks( Open_Extension, Close_Extension )
......
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