From 9fe644f0d99375ffd3011d8828f7dbd0fb103af0 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Sat, 4 Dec 2021 13:48:01 +0100 Subject: Added more gui interaction --- track.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 track.h (limited to 'track.h') diff --git a/track.h b/track.h new file mode 100644 index 0000000..b2cfa4f --- /dev/null +++ b/track.h @@ -0,0 +1,25 @@ +#pragma once + +#include "link.h" +#include "util.h" + + +struct track { + char *name; + char *artist; + float duration; + struct link tags; + char *fname, *fpath; + + struct link link; +}; + +struct track_ref { + struct track *track; + + struct link link; +}; + + +struct track *track_init(const char *dir, const char *file); +void track_free(struct track *t); -- cgit v1.2.3-71-gd317