diff options
author | 2010-07-29 06:51:15 +0200 | |
---|---|---|
committer | 2010-07-29 06:51:15 +0200 | |
commit | c27c2b5cc332cd615b2ade47c92acbd2780e6eea (patch) | |
tree | 8e1e26bc9ab2fe4965f89253b476ffd070fd5c98 /deadbeef.h | |
parent | d2fa3b7e96c74e929cc846c55317879e1aebfa10 (diff) |
several typo/warning fixes in actions/shellexec and related code
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -531,6 +531,10 @@ enum { DB_ACTION_DISABLED = 1 << 4 }; +struct DB_plugin_action_s; + +typedef int (*DB_plugin_action_callback_t) (struct DB_plugin_action_s *action, DB_playItem_t *it); + typedef struct DB_plugin_action_s { const char *title; const char *name; @@ -543,7 +547,7 @@ typedef struct DB_plugin_action_s { * or NULL for common action * @returns unused */ - int (*callback) (struct DB_plugin_action_s *action, DB_playItem_t *it); + DB_plugin_action_callback_t callback; //we have linked list here struct DB_plugin_action_s *next; |