Bump version numbers for 3.13
[maemo-rb.git] / rbutil / rbutilqt / base / rockboxinfo.h
blobaf5cf227f7b9259a2c7cc023817e2e11e1ab9f3c
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Wenger
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
22 #ifndef ROCKBOXINFO_H
23 #define ROCKBOXINFO_H
25 #include <QString>
27 class RockboxInfo
29 public:
30 RockboxInfo(QString mountpoint, QString fname = "/.rockbox/rockbox-info.txt");
32 QString version() {return m_version;}
33 QString features(){return m_features;}
34 QString targetID() {return m_targetid;}
35 QString target() {return m_target;}
36 int ram() { return m_ram; }
37 int voicefmt() { return m_voicefmt; }
38 bool success() { return m_success; }
39 QString revision(void) { return m_revision; }
40 QString release(void) { return m_release; }
41 private:
42 QString m_version;
43 QString m_revision;
44 QString m_release;
45 QString m_features;
46 QString m_targetid;
47 QString m_target;
48 int m_ram;
49 int m_voicefmt;
50 bool m_success;
53 #endif