Add support for the Creative ZEN and renew the way firmwares are
[Rockbox.git] / rbutil / rbutilqt / uninstall.h
blobb4aa49a77b3ee2539269b7e6ca25dc51be08282e
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id$
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
21 #ifndef UNINSTALL_H
22 #define UNINSTALL_H
26 #include <QtGui>
29 #include "progressloggerinterface.h"
32 class Uninstaller : public QObject
34 Q_OBJECT
35 public:
36 Uninstaller(QObject* parent,QString mountpoint) ;
37 ~Uninstaller(){}
39 void deleteAll(ProgressloggerInterface* dp);
40 void uninstall(ProgressloggerInterface* dp);
42 bool uninstallPossible();
44 QStringList getAllSections();
46 void setSections(QStringList sections) {uninstallSections = sections;}
49 private slots:
52 private:
53 QString m_mountpoint;
55 QStringList uninstallSections;
57 ProgressloggerInterface* m_dp;
62 #endif