summaryrefslogtreecommitdiffstats
path: root/src/c_mpdview.h
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-07-03 16:19:54 +0200
committerJoe <bousset.rudy@gmail.com>2022-07-03 16:19:54 +0200
commitb206ce3b11c1b057a0d4b90e212510ce5d323146 (patch)
treef27510f6bcd3a751e57219cce6245f12706900ee /src/c_mpdview.h
parentWIP (diff)
downloadmpdview-b206ce3b11c1b057a0d4b90e212510ce5d323146.tar.gz
mpdview-b206ce3b11c1b057a0d4b90e212510ce5d323146.tar.bz2
mpdview-b206ce3b11c1b057a0d4b90e212510ce5d323146.tar.xz
mpdview-b206ce3b11c1b057a0d4b90e212510ce5d323146.tar.zst
mpdview-b206ce3b11c1b057a0d4b90e212510ce5d323146.zip
WIP
Diffstat (limited to 'src/c_mpdview.h')
-rw-r--r--src/c_mpdview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c_mpdview.h b/src/c_mpdview.h
index 25527ab..a96df4a 100644
--- a/src/c_mpdview.h
+++ b/src/c_mpdview.h
@@ -46,6 +46,8 @@
#ifndef __C_MPDVIEW_H__
#define __C_MPDVIEW_H__
+#include <sys/param.h>
+
#include <mpd/connection.h>
#include <mpd/song.h>
#include <mpd/status.h>
@@ -55,6 +57,8 @@ struct mpdview_s {
struct mpd_status* status;
struct mpd_song* song;
enum mpd_state state;
+ char music_dir[PATH_MAX];
+ char current_dir[PATH_MAX];
};
#endif /* __C_MPDVIEW_H__ */