Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
b2393f00
Commit
b2393f00
authored
Jan 31, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lua: provide descriptions for submodules
parent
0c60f1a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
modules/lua/vlc.c
modules/lua/vlc.c
+7
-4
No files found.
modules/lua/vlc.c
View file @
b2393f00
...
@@ -84,10 +84,9 @@ vlc_module_begin ()
...
@@ -84,10 +84,9 @@ vlc_module_begin ()
set_description
(
N_
(
"Lua interpreter"
)
)
set_description
(
N_
(
"Lua interpreter"
)
)
set_category
(
CAT_INTERFACE
)
set_category
(
CAT_INTERFACE
)
set_subcategory
(
SUBCAT_INTERFACE_MAIN
)
set_subcategory
(
SUBCAT_INTERFACE_MAIN
)
add_string
(
"lua-intf"
,
"dummy"
,
INTF_TEXT
,
INTF_LONGTEXT
,
false
)
add_string
(
"lua-intf"
,
"dummy"
,
INTF_TEXT
,
INTF_LONGTEXT
,
false
)
add_string
(
"lua-config"
,
""
,
add_string
(
"lua-config"
,
""
,
CONFIG_TEXT
,
CONFIG_LONGTEXT
,
false
)
CONFIG_TEXT
,
CONFIG_LONGTEXT
,
false
)
set_capability
(
"interface"
,
0
)
set_capability
(
"interface"
,
0
)
set_callbacks
(
Open_LuaIntf
,
Close_LuaIntf
)
set_callbacks
(
Open_LuaIntf
,
Close_LuaIntf
)
add_shortcut
(
"luaintf"
)
add_shortcut
(
"luaintf"
)
...
@@ -99,12 +98,14 @@ vlc_module_begin ()
...
@@ -99,12 +98,14 @@ vlc_module_begin ()
set_capability
(
"interface"
,
0
)
set_capability
(
"interface"
,
0
)
set_callbacks
(
Open_LuaHTTP
,
Close_LuaIntf
)
set_callbacks
(
Open_LuaHTTP
,
Close_LuaIntf
)
add_shortcut
(
"luahttp"
,
"http"
)
add_shortcut
(
"luahttp"
,
"http"
)
set_description
(
N_
(
"Lua HTTP"
)
)
add_submodule
()
add_submodule
()
set_section
(
N_
(
"Lua CLI"
),
0
)
set_section
(
N_
(
"Lua CLI"
),
0
)
add_string
(
"rc-host"
,
NULL
,
RCHOST_TEXT
,
RCHOST_LONGTEXT
,
true
)
add_string
(
"rc-host"
,
NULL
,
RCHOST_TEXT
,
RCHOST_LONGTEXT
,
true
)
add_string
(
"cli-host"
,
NULL
,
CLIHOST_TEXT
,
CLIHOST_LONGTEXT
,
true
)
add_string
(
"cli-host"
,
NULL
,
CLIHOST_TEXT
,
CLIHOST_LONGTEXT
,
true
)
set_capability
(
"interface"
,
25
)
set_capability
(
"interface"
,
25
)
set_description
(
N_
(
"Remote control interface"
)
)
set_callbacks
(
Open_LuaCLI
,
Close_LuaIntf
)
set_callbacks
(
Open_LuaCLI
,
Close_LuaIntf
)
#ifndef WIN32
#ifndef WIN32
add_shortcut
(
"luacli"
,
"luarc"
,
"cli"
,
"rc"
)
add_shortcut
(
"luacli"
,
"luarc"
,
"cli"
,
"rc"
)
...
@@ -123,6 +124,7 @@ vlc_module_begin ()
...
@@ -123,6 +124,7 @@ vlc_module_begin ()
TELNETPWD_LONGTEXT
,
true
)
TELNETPWD_LONGTEXT
,
true
)
set_capability
(
"interface"
,
0
)
set_capability
(
"interface"
,
0
)
set_callbacks
(
Open_LuaTelnet
,
Close_LuaIntf
)
set_callbacks
(
Open_LuaTelnet
,
Close_LuaIntf
)
set_description
(
N_
(
"Lua Telnet"
)
)
add_shortcut
(
"luatelnet"
,
"telnet"
)
add_shortcut
(
"luatelnet"
,
"telnet"
)
/* add_shortcut( "luahotkeys" ) */
/* add_shortcut( "luahotkeys" ) */
...
@@ -155,6 +157,7 @@ vlc_module_begin ()
...
@@ -155,6 +157,7 @@ vlc_module_begin ()
add_submodule
()
add_submodule
()
set_shortname
(
N_
(
"Lua Extension"
)
)
set_shortname
(
N_
(
"Lua Extension"
)
)
set_description
(
N_
(
"Lua Extension"
)
)
add_shortcut
(
"luaextension"
)
add_shortcut
(
"luaextension"
)
set_capability
(
"extension"
,
1
)
set_capability
(
"extension"
,
1
)
set_callbacks
(
Open_Extension
,
Close_Extension
)
set_callbacks
(
Open_Extension
,
Close_Extension
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment