diff options
| author | Louis Burda <quent.burda@gmail.com> | 2021-12-16 17:11:12 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2021-12-20 15:31:31 +0100 |
| commit | 3eea7a245a7ed49127a222628543f9509a6ff2b6 (patch) | |
| tree | 345a923819b73bc88b551af5f708476239b6b7d9 /track.h | |
| parent | 15a8fe2cf2b16af8739a7ec2b64b5c5f184161b8 (diff) | |
| download | tmus-3eea7a245a7ed49127a222628543f9509a6ff2b6.tar.gz tmus-3eea7a245a7ed49127a222628543f9509a6ff2b6.zip | |
Switched most buffers to wide chars, added general ref class, now clear mpd errors, added track and command completion
Diffstat (limited to 'track.h')
| -rw-r--r-- | track.h | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -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); |
