738780a606d61f5d11896b6696edd6d4e0a64dc5
[vlc-remote] / vlcstatus.h
1 /*   VLC-REMOTE for MAEMO 5
2 *   Copyright (C) 2010 Schutz Sacha <istdasklar@gmail.com>, Dru Moore <usr@dru-id.co.uk>, Yann Nave <yannux@onbebop.net>
3 *   This program is free software; you can redistribute it and/or modify
4 *   it under the terms of the GNU General Public License version 2,
5 *   or (at your option) any later version, as published by the Free
6 *   Software Foundation
7 *
8 *   This program is distributed in the hope that it will be useful,
9 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
10 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 *   GNU General Public License for more details
12 *
13 *   You should have received a copy of the GNU General Public
14 *   License along with this program; if not, write to the
15 *   Free Software Foundation, Inc.,
16 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17 */
18 #ifndef VLCSTATUS_H
19 #define VLCSTATUS_H
20 #include <QString>
21
22 enum VlcStatusState {
23     UNKNOWN,
24     STOP,
25     PLAYING,
26     PAUSED
27 };
28
29 struct VlcStatus {
30     bool newtrack;
31     bool random;
32     bool loop;
33     bool repeat;
34     bool hasart;
35     int volume;
36     int length;
37     int time;
38     int position;
39     VlcStatusState state;
40     QString title;
41     QString artist;
42     QString album;
43     QString nowplaying;
44 };
45
46 #endif // VLCSTATUS_H