diff options
author | 2010-12-28 22:18:58 +0100 | |
---|---|---|
committer | 2010-12-28 22:18:58 +0100 | |
commit | e1bec0e410440034be6457e3dafe490e07683f55 (patch) | |
tree | b2c1aa2be9827ec840e3f08abe523c609410d282 /deadbeef.h | |
parent | fb04911887b9003d5fc99694cf556f32fab7f125 (diff) |
nuked old plugin activate/deactivate/nostop code;
improved plugin start and connect code
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -533,7 +533,6 @@ typedef struct { struct DB_dsp_s **(*plug_get_dsp_list) (void); struct DB_playlist_s **(*plug_get_playlist_list) (void); struct DB_plugin_s **(*plug_get_list) (void); - int (*plug_activate) (struct DB_plugin_s *p, int activate); const char * (*plug_get_decoder_id) (const char *id); void (*plug_remove_decoder_id) (const char *id); struct DB_plugin_s *(*plug_get_for_id) (const char *id); @@ -597,10 +596,11 @@ typedef struct DB_plugin_s { // plugin version int16_t version_major; int16_t version_minor; - // may be deactivated on failures after load - int inactive; - // prevent plugin from being dynamically stopped - int nostop; + + uint32_t flags; // currently unused + uint32_t reserved1; + uint32_t reserved2; + uint32_t reserved3; // any of those can be left NULL // though it's much better to fill them with something useful |