summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-12-28 22:18:58 +0100
committerGravatar waker <wakeroid@gmail.com>2010-12-28 22:18:58 +0100
commite1bec0e410440034be6457e3dafe490e07683f55 (patch)
treeb2c1aa2be9827ec840e3f08abe523c609410d282 /deadbeef.h
parentfb04911887b9003d5fc99694cf556f32fab7f125 (diff)
nuked old plugin activate/deactivate/nostop code;
improved plugin start and connect code
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 98c12017..e3e24440 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -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