Commit b74d2d8c authored by Francois Cartegnie's avatar Francois Cartegnie

Files and paths are not string variables (for Qt)

parent 292e0575
......@@ -262,13 +262,13 @@ vlc_module_begin ()
PASSWORD_LONGTEXT, true )
add_string( "dvb-http-acl", NULL, ACL_TEXT, ACL_LONGTEXT,
true )
add_string( "dvb-http-intf-cert", NULL, CERT_TEXT, CERT_LONGTEXT,
add_loadfile( "dvb-http-intf-cert", NULL, CERT_TEXT, CERT_LONGTEXT,
true )
add_string( "dvb-http-intf-key", NULL, KEY_TEXT, KEY_LONGTEXT,
add_loadfile( "dvb-http-intf-key", NULL, KEY_TEXT, KEY_LONGTEXT,
true )
add_string( "dvb-http-intf-ca", NULL, CA_TEXT, CA_LONGTEXT,
add_loadfile( "dvb-http-intf-ca", NULL, CA_TEXT, CA_LONGTEXT,
true )
add_string( "dvb-http-intf-crl", NULL, CRL_TEXT, CRL_LONGTEXT,
add_loadfile( "dvb-http-intf-crl", NULL, CRL_TEXT, CRL_LONGTEXT,
true )
#endif
......
......@@ -104,13 +104,13 @@ vlc_module_begin ()
PASS_TEXT, PASS_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "mime", "",
MIME_TEXT, MIME_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "cert", "vlc.pem",
add_loadfile( SOUT_CFG_PREFIX "cert", "vlc.pem",
CERT_TEXT, CERT_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "key", NULL,
add_loadfile( SOUT_CFG_PREFIX "key", NULL,
KEY_TEXT, KEY_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "ca", NULL,
add_loadfile( SOUT_CFG_PREFIX "ca", NULL,
CA_TEXT, CA_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "crl", NULL,
add_loadfile( SOUT_CFG_PREFIX "crl", NULL,
CRL_TEXT, CRL_LONGTEXT, true )
#if 0 //def HAVE_AVAHI_CLIENT
add_bool( SOUT_CFG_PREFIX "bonjour", false,
......
......@@ -78,10 +78,10 @@ vlc_module_begin ()
#endif
add_bool ( "http-album-art", false, ART_TEXT, ART_LONGTEXT, true )
set_section( N_("HTTP SSL" ), 0 )
add_string ( "http-intf-cert", NULL, CERT_TEXT, CERT_LONGTEXT, true )
add_string ( "http-intf-key", NULL, KEY_TEXT, KEY_LONGTEXT, true )
add_string ( "http-intf-ca", NULL, CA_TEXT, CA_LONGTEXT, true )
add_string ( "http-intf-crl", NULL, CRL_TEXT, CRL_LONGTEXT, true )
add_loadfile ( "http-intf-cert", NULL, CERT_TEXT, CERT_LONGTEXT, true )
add_loadfile ( "http-intf-key", NULL, KEY_TEXT, KEY_LONGTEXT, true )
add_loadfile ( "http-intf-ca", NULL, CA_TEXT, CA_LONGTEXT, true )
add_loadfile ( "http-intf-crl", NULL, CRL_TEXT, CRL_LONGTEXT, true )
set_capability( "interface", 0 )
set_callbacks( Open, Close )
add_shortcut( "http" )
......
......@@ -69,7 +69,7 @@ vlc_module_begin ()
add_shortcut( "alphamask", "mask" )
set_callbacks( Create, Destroy )
add_string( CFG_PREFIX "mask", NULL, MASK_TEXT,
add_loadfile( CFG_PREFIX "mask", NULL, MASK_TEXT,
MASK_LONGTEXT, false )
vlc_module_end ()
......
......@@ -129,9 +129,9 @@ vlc_module_begin ()
add_integer( OSD_CFG "position", 8, POS_TEXT, POS_LONGTEXT,
false )
change_integer_list( pi_pos_values, ppsz_pos_descriptions )
add_string( OSD_CFG "file", OSD_DEFAULT_CFG, OSD_FILE_TEXT,
add_loadfile( OSD_CFG "file", OSD_DEFAULT_CFG, OSD_FILE_TEXT,
OSD_FILE_LONGTEXT, false )
add_string( OSD_CFG "file-path", NULL, OSD_PATH_TEXT,
add_directory( OSD_CFG "file-path", NULL, OSD_PATH_TEXT,
OSD_PATH_LONGTEXT, false )
add_integer( OSD_CFG "timeout", 15, TIMEOUT_TEXT,
TIMEOUT_LONGTEXT, false )
......
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