summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/uninstall.h
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-08-12 16:47:35 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-08-12 16:47:35 +0000
commite40b4df1406b70a4c54b67d279ae8654a0341a32 (patch)
tree07ce63b96fbca9d8fb180bda44722fc0e2148a6e /rbutil/rbutilqt/uninstall.h
parent451dec17fe2be8dace913f6a88bbf489d50deeef (diff)
downloadrockbox-e40b4df1406b70a4c54b67d279ae8654a0341a32.tar.gz
rockbox-e40b4df1406b70a4c54b67d279ae8654a0341a32.zip
rbutilQt:Ups.. the forgotten uninstall files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14296 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/uninstall.h')
-rw-r--r--rbutil/rbutilqt/uninstall.h65
1 files changed, 65 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/uninstall.h b/rbutil/rbutilqt/uninstall.h
new file mode 100644
index 0000000000..93040eab12
--- /dev/null
+++ b/rbutil/rbutilqt/uninstall.h
@@ -0,0 +1,65 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: uninstall.h 13990 2007-07-25 22:26:10Z Dominik Wenger $
11 *
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.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20
21#ifndef UNINSTALL_H
22#define UNINSTALL_H
23
24
25
26#include <QtGui>
27
28
29#include "progressloggerinterface.h"
30
31
32class Uninstaller : public QObject
33{
34 Q_OBJECT
35public:
36 Uninstaller(QObject* parent,QString mountpoint) ;
37 ~Uninstaller(){}
38
39 void deleteAll(ProgressloggerInterface* dp);
40 void uninstall(ProgressloggerInterface* dp);
41
42 bool uninstallPossible();
43
44 QStringList getAllSections();
45
46 void setSections(QStringList sections) {uninstallSections = sections;}
47
48
49private slots:
50
51
52private:
53 bool recRmdir( QString &dirName );
54
55 QString m_mountpoint;
56
57 QStringList uninstallSections;
58
59 ProgressloggerInterface* m_dp;
60};
61
62
63
64#endif
65