Small build fix & zero playtime and progress bars when XMMS2 playback is stopped.
[monky] / src / xmms2.h
1 /* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
2  *
3  * Conky, a system monitor, based on torsmo
4  *
5  * Any original torsmo code is licensed under the BSD license
6  *
7  * All code written since the fork of torsmo is licensed under the GPL
8  *
9  * Please see COPYING for details
10  *
11  * Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al.
12  *      (see AUTHORS)
13  * All rights reserved.
14  *
15  * This program is free software: you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation, either version 3 of the License, or
18  * (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23  * GNU General Public License for more details.
24  * You should have received a copy of the GNU General Public License
25  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
26  *
27  */
28
29 #ifndef XMMS2_H_
30 #define XMMS2_H_
31
32 #include <xmmsclient/xmmsclient.h>
33
34 struct xmms2_s {
35         char *artist;
36         char *album;
37         char *title;
38         char *genre;
39         char *comment;
40         char *url;
41         char *date;
42         char *playlist;
43         int tracknr;
44         int bitrate;
45         unsigned int id;
46         int duration;
47         int elapsed;
48         int timesplayed;
49         float size;
50
51         float progress;
52         char *status;
53         int conn_state;
54 };
55
56 int update_xmms2(void);
57
58 #endif /*XMMS2_H_*/