summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-12 09:13:17 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-12 09:13:17 +0100
commit9ae08cc0f9bed7a62801e2526537fcffe14e53a9 (patch)
tree7659e03b3941da6a6e492d1ef6c7190aaa7cc965 /deadbeef.h
parentf6fdf11dcbc98fa1477bcfc5ae7317a5b2e75ede (diff)
ported gme and dumb to new api
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 801fd8e9..4118a97a 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -400,13 +400,16 @@ typedef struct DB_plugin_s {
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;
- const char *descr;
- const char *author;
- const char *email;
- const char *website;
+ const char *id; // id used for serialization and runtime binding
+ const char *name; // short name
+ const char *descr; // short description
+ const char *author; // author's name
+ const char *email; // author's email
+ const char *website; // author's website
+
// start is called to start plugin; can be NULL
int (*start) (void);
// stop is called to deinit plugin; can be NULL
@@ -468,9 +471,6 @@ typedef struct DB_decoder_s {
// NULL terminated array of all file type names
const char **filetypes;
-
- // codec id used for playlist serialization
- const char *id;
} DB_decoder_t;
// output plugin