Extend commit 25680305095bfcedaa46cb017182544183ab743b to the whole cpu object.
[monky] / src / mpd.h
index 6505b46..94d0d29 100644 (file)
--- a/src/mpd.h
+++ b/src/mpd.h
@@ -1,8 +1,8 @@
+/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */
+
 #ifndef MPD_H_
 #define MPD_H_
 
-//#include "conky.h"
-
 struct mpd_s {
        char *title;
        char *artist;
@@ -14,7 +14,7 @@ struct mpd_s {
        char *name;
        char *file;
        int is_playing;
-       int volume;
+       int vol;
        float progress;
        int bitrate;
        int length;
@@ -33,4 +33,21 @@ struct mpd_s *mpd_get_info(void);
 void free_mpd(void);
 void update_mpd(void);
 
+void print_mpd_elapsed(struct text_object *, char *, int);
+void print_mpd_length(struct text_object *, char *, int);
+void print_mpd_percent(struct text_object *, char *, int);
+void print_mpd_bar(struct text_object *, char *, int);
+void print_mpd_smart(struct text_object *, char *, int);
+void print_mpd_title(struct text_object *, char *, int);
+void print_mpd_artist(struct text_object *, char *, int);
+void print_mpd_album(struct text_object *, char *, int);
+void print_mpd_random(struct text_object *, char *, int);
+void print_mpd_repeat(struct text_object *, char *, int);
+void print_mpd_track(struct text_object *, char *, int);
+void print_mpd_name(struct text_object *, char *, int);
+void print_mpd_file(struct text_object *, char *, int);
+void print_mpd_vol(struct text_object *, char *, int);
+void print_mpd_bitrate(struct text_object *, char *, int);
+void print_mpd_status(struct text_object *, char *, int);
+
 #endif /*MPD_H_*/