seamus

commit 317bae0e8b688c6cb6efcb56adeec3efb89d69f6

Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>

seamus: adding new props and seamus status

 include/seamus.h | 21 ++++++++++++++++++++-


diff --git a/include/seamus.h b/include/seamus.h
index 7f9cb0cc4a24e8719d69f403822a398d23294466..0835357d048af01bf5bcaa97853d20198f538ef6 100644
--- a/include/seamus.h
+++ b/include/seamus.h
@@ -11,11 +11,30 @@ 	char *title;
 	char *artist;
 };
 
+struct seamus_status {
+	bool repeat;
+	bool random;
+	bool single;
+
+	int current_song_position;
+	int current_song_id;
+
+	int version;
+	int length;
+
+	unsigned elapsed_time;
+	unsigned total_time;
+
+	enum mpd_state state;
+	char *description;
+};
+
 struct seamus_frontend {
 	struct mpd_connection *conn;
 	struct seamus_song *queue;
 	size_t queue_size;
-	char *current_status;
+	struct seamus_status *status;
+	int scroll_position;
 	TickitWindow *main_window;
 	TickitWindow *status_window;
 	Tickit *t;