Commit 83f1c944 authored by Jean-Philippe André's avatar Jean-Philippe André

Extensions: buildsystem

Let's compile!
parent 1bbf6f1c
SOURCES_lua = \
extension.c \
extension_thread.c \
intf.c \
meta.c \
demux.c \
......@@ -8,6 +10,7 @@ SOURCES_lua = \
libs/acl.c \
libs/configuration.c \
libs/gettext.c \
libs/dialog.c \
libs/httpd.c \
libs/input.c \
libs/input.h \
......
......@@ -26,7 +26,7 @@
void luaopen_acl( lua_State * );
void luaopen_config( lua_State * );
void luaopen_volume( lua_State * );
void luaopen_dialog( lua_State *, void * );
void luaopen_httpd( lua_State * );
void luaopen_input( lua_State * );
void luaopen_msg( lua_State * );
......
......@@ -106,6 +106,12 @@ vlc_module_begin ()
add_string( "lua-config", "", NULL,
CONFIG_TEXT, CONFIG_LONGTEXT, false )
set_callbacks( Open_LuaIntf, Close_LuaIntf )
add_submodule ()
set_shortname( "Lua Extension" )
add_shortcut( "luaextension" )
set_capability( "extension", 1 )
set_callbacks( Open_Extension, Close_Extension )
vlc_module_end ()
/*****************************************************************************
......
......@@ -54,6 +54,9 @@ void Close_LuaPlaylist( vlc_object_t * );
int Open_LuaIntf( vlc_object_t * );
void Close_LuaIntf( vlc_object_t * );
int Open_Extension( vlc_object_t * );
void Close_Extension( vlc_object_t * );
/*****************************************************************************
* Lua debug
......
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