diff options
Diffstat (limited to 'rbutil/rbutilqt/rbunzip.h')
-rw-r--r-- | rbutil/rbutilqt/rbunzip.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbunzip.h b/rbutil/rbutilqt/rbunzip.h new file mode 100644 index 0000000000..074d145a97 --- /dev/null +++ b/rbutil/rbutilqt/rbunzip.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2008 by Dominik Riebeling | ||
10 | * $Id$ | ||
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 | #ifndef RBUNZIP_H | ||
21 | #define RBUNZIP_H | ||
22 | |||
23 | #include <QtCore> | ||
24 | #include "zip/unzip.h" | ||
25 | #include "zip/zip.h" | ||
26 | |||
27 | class RbUnZip : public QObject, public UnZip | ||
28 | { | ||
29 | Q_OBJECT | ||
30 | public: | ||
31 | UnZip::ErrorCode extractArchive(const QString&); | ||
32 | |||
33 | signals: | ||
34 | void unzipProgress(int, int); | ||
35 | |||
36 | public slots: | ||
37 | void abortUnzip(void); | ||
38 | |||
39 | private: | ||
40 | bool m_abortunzip; | ||
41 | }; | ||
42 | |||
43 | #endif | ||
44 | |||