]> git.sesse.net Git - vlc/blobdiff - modules/misc/dummy/dummy.c
mkv.cpp: handle seeking the way it's supposed to work (in the future)
[vlc] / modules / misc / dummy / dummy.c
index c829533a9c7cabff8fde16b3892c0ba8c9e8db03..4846422e759dc761fe9f43d27473f8fabc7d82e3 100644 (file)
@@ -2,7 +2,7 @@
  * dummy.c : dummy plugin for vlc
  *****************************************************************************
  * Copyright (C) 2000, 2001 VideoLAN
- * $Id: dummy.c,v 1.11 2003/12/08 18:42:08 gbazin Exp $
+ * $Id$
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -10,7 +10,7 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     "selected/forced the dummy decoder in the main options." )
 
 #ifdef WIN32
-#define QUIET_TEXT N_("Don't open a dos command box interface")
+#define QUIET_TEXT N_("Do not open a DOS command box interface")
 #define QUIET_LONGTEXT N_( \
-    "By default the dummy interface plugin will start a dos command box. " \
+    "By default the dummy interface plugin will start a DOS command box. " \
     "Enabling the quiet mode will not bring this command box but can also " \
-    "be pretty annoying when you want to stop vlc and no video window is " \
-    "opened." )
+    "be pretty annoying when you want to stop VLC and no video window is " \
+    "open." )
 #endif
 
 vlc_module_begin();
-    set_description( _("dummy interface function") );
+    set_description( _("Dummy interface function") );
     set_capability( "interface", 0 );
+    set_category( CAT_INTERFACE );
+    set_subcategory( SUBCAT_INTERFACE_GENERAL );
     add_shortcut( "vlc" );
     set_callbacks( E_(OpenIntf), NULL );
 #ifdef WIN32
+    set_section( N_( "Dummy Interface" ), NULL );
     add_category_hint( N_("Interface"), NULL, VLC_FALSE );
     add_bool( "dummy-quiet", 0, NULL, QUIET_TEXT, QUIET_LONGTEXT, VLC_FALSE );
 #endif
     add_submodule();
-        set_description( _("dummy access function") );
-        set_capability( "access", 0 );
+        set_description( _("Dummy access function") );
+        set_capability( "access2", 0 );
         set_callbacks( E_(OpenAccess), NULL );
     add_submodule();
-        set_description( _("dummy demux function") );
-        set_capability( "demux", 0 );
+        set_description( _("Dummy demux function") );
+        set_capability( "demux2", 0 );
         set_callbacks( E_(OpenDemux), E_(CloseDemux) );
     add_submodule();
-        set_description( _("dummy decoder function") );
+        set_section( N_( "Dummy decoder" ), NULL );
+        set_description( _("Dummy decoder function") );
         set_capability( "decoder", 0 );
         set_callbacks( E_(OpenDecoder), E_(CloseDecoder) );
         add_bool( "dummy-save-es", 0, NULL, SAVE_TEXT, SAVE_LONGTEXT, VLC_FALSE );
     add_submodule();
-        set_description( _("dummy encoder function") );
+        set_description( _("Dummy encoder function") );
         set_capability( "encoder", 0 );
         set_callbacks( E_(OpenEncoder), E_(CloseEncoder) );
     add_submodule();
-        set_description( _("dummy audio output function") );
+        set_description( _("Dummy audio output function") );
         set_capability( "audio output", 1 );
         set_callbacks( E_(OpenAudio), NULL );
     add_submodule();
-        set_description( _("dummy video output function") );
+        set_description( _("Dummy video output function") );
+        set_section( N_( "Dummy Video output" ), NULL );
         set_capability( "video output", 1 );
         set_callbacks( E_(OpenVideo), NULL );
         add_category_hint( N_("Video"), NULL, VLC_FALSE );
         add_string( "dummy-chroma", NULL, NULL, CHROMA_TEXT, CHROMA_LONGTEXT, VLC_FALSE );
     add_submodule();
-        set_description( _("dummy font renderer function") );
+        set_description( _("Dummy font renderer function") );
         set_capability( "text renderer", 1 );
         set_callbacks( E_(OpenRenderer), NULL );
 vlc_module_end();