decoder_list: moved print_all_decoders() to cmdline.c
Export the decoder_plugins array. The function decoder_plugin_print_all_decoders() it is UI specific and should not live in this backend library.
This commit is contained in:
@@ -20,10 +20,13 @@
|
||||
#ifndef MPD_DECODER_LIST_H
|
||||
#define MPD_DECODER_LIST_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
struct decoder_plugin;
|
||||
|
||||
extern const struct decoder_plugin *const decoder_plugins[];
|
||||
extern bool decoder_plugins_enabled[];
|
||||
|
||||
/* interface for using plugins */
|
||||
|
||||
/**
|
||||
@@ -43,8 +46,6 @@ decoder_plugin_from_mime_type(const char *mimeType, unsigned int next);
|
||||
const struct decoder_plugin *
|
||||
decoder_plugin_from_name(const char *name);
|
||||
|
||||
void decoder_plugin_print_all_decoders(FILE * fp);
|
||||
|
||||
/* this is where we "load" all the "plugins" ;-) */
|
||||
void decoder_plugin_init_all(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user