diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-10 21:40:35 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-10 21:40:35 +0100 |
commit | dffdb68b1b6d587787a60118ae4ca10e0d398a8b (patch) | |
tree | c313d84a0cdd50e3398714f433e6e8b5c058ef3c /deadbeef.h | |
parent | e2ee21995ee43411965ec9f7e7a95f3c139850b2 (diff) |
plugin dynamic start/stop WIP
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -338,6 +338,7 @@ typedef struct { // plugin communication struct DB_decoder_s **(*plug_get_decoder_list) (void); struct DB_plugin_s **(*plug_get_list) (void); + int (*plug_activate) (struct DB_plugin_s *p, int activate); // exporting plugin conf options for gui // all exported options are grouped by plugin, and will be available to user // from gui @@ -361,6 +362,8 @@ typedef struct DB_plugin_s { int16_t version_minor; // may be deactivated on failures after load int inactive; + // prevent plugin from being dynamically stopped + int nostop; // any of those can be left NULL // though it's much better to fill them with something useful const char *name; |