diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-09-20 23:03:56 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-09-30 23:42:21 +0200 |
commit | 8df12c63b846edcec4fb7020a8409f5aefa089f1 (patch) | |
tree | 1334a10b59b3332113247cce5531deee19ba7da6 /rbutil/rbutilqt/gui/changelog.h | |
parent | 1977281bb3de54db1be7527bdea3ab9089f15011 (diff) | |
download | rockbox-8df12c63b846edcec4fb7020a8409f5aefa089f1.tar.gz rockbox-8df12c63b846edcec4fb7020a8409f5aefa089f1.zip |
Implement a first, simple changelog dialog.
When Rockbox Utility is started for the first time, a new version is started or
the user selected to do so on startup a changelog window is shown.
Change-Id: Ic223e092a09d31ccbbfcd9b973355225cac27632
Diffstat (limited to 'rbutil/rbutilqt/gui/changelog.h')
-rw-r--r-- | rbutil/rbutilqt/gui/changelog.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/gui/changelog.h b/rbutil/rbutilqt/gui/changelog.h new file mode 100644 index 0000000000..103a3bc9fb --- /dev/null +++ b/rbutil/rbutilqt/gui/changelog.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2013 by Dominik Riebeling | ||
10 | * | ||
11 | * All files in this archive are subject to the GNU General Public License. | ||
12 | * See the file COPYING in the source tree root for full license agreement. | ||
13 | * | ||
14 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
15 | * KIND, either express or implied. | ||
16 | * | ||
17 | ****************************************************************************/ | ||
18 | |||
19 | #ifndef CHANGELOG_H | ||
20 | #define CHANGELOG_H | ||
21 | |||
22 | #include <QDialog> | ||
23 | #include "ui_changelogfrm.h" | ||
24 | |||
25 | class Changelog : public QDialog | ||
26 | { | ||
27 | Q_OBJECT | ||
28 | public: | ||
29 | Changelog(QWidget *parent = 0); | ||
30 | |||
31 | public slots: | ||
32 | void accept(void); | ||
33 | |||
34 | private: | ||
35 | QString parseChangelogFile(QString filename); | ||
36 | Ui::Changelog ui; | ||
37 | |||
38 | }; | ||
39 | |||
40 | #endif | ||