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