]> git.sesse.net Git - vlc/blobdiff - src/modules/modules.h
Doxygen documentation
[vlc] / src / modules / modules.h
index d0654d694abc6c2f20eb0cfb849d7b160cf86478..8070d2b7deac70da7f5f2886b2ee3d30d6cabcf8 100644 (file)
@@ -76,7 +76,6 @@ struct module_cache_t
 };
 
 
-#if 0
 #define MODULE_SHORTCUT_MAX 50
 
 /* The module handle type. */
@@ -109,15 +108,10 @@ struct module_t
     const char *psz_longname;                   /**< Module descriptive name */
     const char *psz_help;        /**< Long help string for "special" modules */
 
-    /*
-     * Variables set by the module to tell us what it can do
-     */
-    const char *psz_program; /**< Program name which will activate the module */
-
     /** Shortcuts to the module */
     const char *pp_shortcuts[ MODULE_SHORTCUT_MAX ];
 
-    const char    *psz_capability;                           /**< Capability */
+    char    *psz_capability;                                 /**< Capability */
     int      i_score;                          /**< Score for the capability */
     uint32_t i_cpu;                           /**< Required CPU capabilities */
 
@@ -147,7 +141,6 @@ struct module_t
     vlc_bool_t          b_builtin;  /* Set to true if the module is built in */
     vlc_bool_t          b_loaded;        /* Set to true if the dll is loaded */
 };
-#endif
 
 
 #define module_InitBank(a)     __module_InitBank(VLC_OBJECT(a))
@@ -170,6 +163,6 @@ void module_Unload (module_handle_t);
 void   CacheMerge (vlc_object_t *, module_t *, module_t *);
 void   CacheLoad  (vlc_object_t * );
 void   CacheSave  (vlc_object_t * );
-module_cache_t * CacheFind (vlc_object_t *, const char *, int64_t, int64_t);
+module_cache_t * CacheFind (const char *, int64_t, int64_t);
 
 #endif /* !__LIBVLC_MODULES_H */