*****************************************************************************
*
* Copyright (C) 2001 VideoLAN
- * $Id: dvd.c,v 1.3 2003/02/27 13:19:44 gbazin Exp $
+ * $Id: dvd.c,v 1.4 2003/03/30 11:54:29 sigmunau Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
*****************************************************************************/
vlc_module_begin();
add_usage_hint( N_("[dvdplay:][device][@[title][,[chapter][,angle]]]") );
- add_category_hint( N_("dvd"), NULL, VLC_TRUE );
set_description( _("dvdplay input module") );
add_submodule();
set_capability( "access", 120 );
* logger.c : file logging plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: logger.c,v 1.4 2003/02/20 01:52:46 sigmunau Exp $
+ * $Id: logger.c,v 1.5 2003/03/30 11:54:29 sigmunau Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
/*****************************************************************************
* Module descriptor
*****************************************************************************/
+static char *mode_list[] = { "text", "html", NULL };
+#define LOGMODE_TEXT N_("log format")
+#define LOGMODE_LONGTEXT N_("Specify the log format. Available choices are \"text\" (default) and \"html\"")
vlc_module_begin();
add_category_hint( N_("Miscellaneous"), NULL, VLC_FALSE );
add_string( "logfile", NULL, NULL, N_("log filename"), N_("Specify the log filename."), VLC_FALSE );
- add_string( "logmode", NULL, NULL, N_("log format"), N_("Specify the log format. Available choices are \"text\" (default) and \"html\""), VLC_FALSE );
+ add_string_from_list( "logmode", "text", mode_list, NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT, VLC_FALSE );
set_description( _("file logging interface module") );
set_capability( "interface", 0 );
set_callbacks( Open, Close );