From 3eea7a245a7ed49127a222628543f9509a6ff2b6 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Thu, 16 Dec 2021 17:11:12 +0100 Subject: Switched most buffers to wide chars, added general ref class, now clear mpd errors, added track and command completion --- track.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'track.h') diff --git a/track.h b/track.h index b2cfa4f..7a2a142 100644 --- a/track.h +++ b/track.h @@ -1,25 +1,16 @@ #pragma once -#include "link.h" +#include "list.h" #include "util.h" struct track { - char *name; - char *artist; - float duration; + wchar_t *name; 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