diff options
author | waker <wakeroid@gmail.com> | 2011-04-16 21:01:37 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-04-16 21:01:37 +0200 |
commit | 1416dfbf622b443c309e299e0b1efd01646c8b37 (patch) | |
tree | 4794b0edfff95bce654f253b586c9aaa4e970e7f /deadbeef.h | |
parent | d804aaaad0df4a532cfe397b5190f833837257b9 (diff) |
get rid of some legacy events;
update playlist grouping on metadata changes
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -375,11 +375,12 @@ typedef struct { int (*plt_get_title) (void *handle, char *buffer, int bufsize); int (*plt_set_title) (void *handle, const char *title); - // sets the modification time using time(NULL) call + // increments modification index void (*plt_modified) (void *handle); - // returns the time of last modification - time_t (*plt_get_modification_time) (void *handle); + // returns modication index + // the index is incremented by 1 every time playlist changes + int (*plt_get_modification_idx) (void *handle); // playlist metadata // this kind of metadata is stored in playlist (dbpl) files @@ -604,11 +605,6 @@ typedef struct { void (*plug_remove_decoder_id) (const char *id); struct DB_plugin_s *(*plug_get_for_id) (const char *id); - // plugin events - void (*plug_trigger_event_trackchange) (DB_playItem_t *from, DB_playItem_t *to); - void (*plug_trigger_event_trackinfochanged) (DB_playItem_t *track); - void (*plug_trigger_event_playlistchanged) (void); - // misc utilities int (*is_local_file) (const char *fname); // returns 1 for local filename, 0 otherwise |