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

Lua: provide descriptions for submodules

(cherry picked from commit b2393f00)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9d83faef
......@@ -92,10 +92,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" )
......@@ -107,12 +106,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" )
......@@ -131,6 +132,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" ) */
......@@ -163,6 +165,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