Add support for modules help strings (Closes:#413)
[vlc.git] / include / modules_inner.h
index 5b98d2b..6d1f554 100644 (file)
         p_module->psz_object_name = MODULE_STRING;                            \
         p_module->psz_shortname = NULL;                                       \
         p_module->psz_longname = MODULE_STRING;                               \
+        p_module->psz_help = NULL;                                            \
         p_module->pp_shortcuts[ 0 ] = MODULE_STRING;                          \
         p_module->i_cpu = 0;                                                  \
         p_module->psz_program = NULL;                                         \
 #define set_description( desc )                                               \
     p_submodule->psz_longname = desc
 
+#define set_help( help )                                                      \
+    p_submodule->psz_help = help
+
 #define set_capability( cap, score )                                          \
     p_submodule->psz_capability = cap;                                        \
     p_submodule->i_score = score