summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Viktor Semykin <thesame.ml@gmail.com>2010-06-02 09:25:56 +0300
committerGravatar Viktor Semykin <thesame.ml@gmail.com>2010-06-02 09:25:56 +0300
commitb48ceef7a2217056c24e736874802c7cbd0e6375 (patch)
treefe9ff476c5e7676cf425bf9242f6d4cc040282c6 /deadbeef.h
parent5e6f90e90126cae7f5dd89e017e4b7eabc28ecab (diff)
WIP
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/deadbeef.h b/deadbeef.h
index fd213156..5bf8b003 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -524,7 +524,10 @@ enum {
DB_ACTION_ALLOW_MULTIPLE_TRACKS = 1 << 2,
/* Action can (and prefer) traverse multiple tracks by itself */
- DB_ACTION_CAN_MULTIPLE_TRACKS = 1 << 3
+ DB_ACTION_CAN_MULTIPLE_TRACKS = 1 << 3,
+
+ /* Action is inactive */
+ DB_ACTION_DISABLED = 1 << 4
};
typedef struct DB_plugin_action_s {
@@ -583,10 +586,9 @@ typedef struct DB_plugin_s {
// actions
/* by get_actions function plugin is queried for implemented actions
- @action is linked list (initially null), function must add its actions to list
- @returns nonzero on success, 0 on fail
+ @returns linked list of actions
*/
- int (*get_actions) (DB_plugin_action_t **actions);
+ DB_plugin_action_t* (*get_actions) (DB_playItem_t *it);
} DB_plugin_t;
typedef struct DB_fileinfo_s {