remove struct fluid_cmd_handler_t from public API

This commit is contained in:
derselbst 2017-10-07 11:47:22 +02:00
parent 680d4d51a4
commit 6531bebbfe
3 changed files with 13 additions and 10 deletions

View file

@ -63,16 +63,6 @@ typedef struct {
char* help; /**< A help string */
} fluid_cmd_t;
/* the shell cmd handler struct */
typedef struct {
fluid_synth_t* synth;
fluid_midi_router_t* router;
fluid_cmd_hash_t* commands;
fluid_midi_router_rule_t *cmd_rule; /* Rule currently being processed by shell command handler */
int cmd_rule_type; /* Type of the rule (#fluid_midi_router_rule_type) */
} fluid_cmd_handler_t;
/* The command handler */
FLUIDSYNTH_API

View file

@ -56,6 +56,7 @@ typedef struct _fluid_event_t fluid_event_t; /**< Sequencer e
typedef struct _fluid_sequencer_t fluid_sequencer_t; /**< Sequencer instance */
typedef struct _fluid_ramsfont_t fluid_ramsfont_t; /**< RAM SoundFont */
typedef struct _fluid_rampreset_t fluid_rampreset_t; /**< RAM SoundFont preset */
typedef struct _fluid_cmd_handler_t fluid_cmd_handler_t; /**< Shell Command Handler */
typedef int fluid_istream_t; /**< Input stream descriptor */
typedef int fluid_ostream_t; /**< Output stream descriptor */

View file

@ -39,6 +39,18 @@
#define MAX_COMMAND_LEN 1024 /* max command length accepted by fluid_command() */
#define FLUID_WORKLINELENGTH 1024 /* LADSPA plugins use long command lines */
/* the shell cmd handler struct */
struct _fluid_cmd_handler_t {
fluid_synth_t* synth;
fluid_midi_router_t* router;
fluid_cmd_hash_t* commands;
fluid_midi_router_rule_t *cmd_rule; /* Rule currently being processed by shell command handler */
int cmd_rule_type; /* Type of the rule (#fluid_midi_router_rule_type) */
};
struct _fluid_shell_t {
fluid_settings_t* settings;
fluid_cmd_handler_t* handler;