summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 91d04f2)
raw | patch | inline | side by side (parent: 91d04f2)
author | Max Kellermann <max.kellermann@gmail.com> | |
Fri, 17 Mar 2017 22:24:03 +0000 (23:24 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Fri, 17 Mar 2017 22:24:03 +0000 (23:24 +0100) |
src/mpdclient.h | patch | blob | history |
diff --git a/src/mpdclient.h b/src/mpdclient.h
index 1d4dbc94de6f86da2ace405056756e446dfa306a..52088151dba89287f4bf57219005bbf386010f52 100644 (file)
--- a/src/mpdclient.h
+++ b/src/mpdclient.h
struct mpd_connection *connection;
- /**
- * This attribute is incremented whenever the connection changes
- * (i.e. on disconnection and (re-)connection).
- */
- unsigned connection_id;
-
/**
* Tracks idle events. It is automatically called by
* mpdclient_get_connection() and mpdclient_put_connection().
*/
struct mpd_glib_source *source;
- /**
- * This attribute is true when the connection is currently in
- * "idle" mode, and the #mpd_glib_source waits for an event.
- */
- bool idle;
-
struct mpd_status *status;
const struct mpd_song *song;
+ /**
+ * This attribute is incremented whenever the connection changes
+ * (i.e. on disconnection and (re-)connection).
+ */
+ unsigned connection_id;
+
int volume;
/**
* A bit mask of idle events occurred since the last update.
*/
enum mpd_idle events;
+
+ /**
+ * This attribute is true when the connection is currently in
+ * "idle" mode, and the #mpd_glib_source waits for an event.
+ */
+ bool idle;
};
enum {