diff options
Diffstat (limited to 'rbutil/rbutilqt/base/rbunzip.h')
-rw-r--r-- | rbutil/rbutilqt/base/rbunzip.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/rbunzip.h b/rbutil/rbutilqt/base/rbunzip.h new file mode 100644 index 0000000000..133437a4e2 --- /dev/null +++ b/rbutil/rbutilqt/base/rbunzip.h | |||
@@ -0,0 +1,46 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2008 by Dominik Riebeling | ||
10 | * $Id$ | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU General Public License | ||
14 | * as published by the Free Software Foundation; either version 2 | ||
15 | * of the License, or (at your option) any later version. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | |||
22 | #ifndef RBUNZIP_H | ||
23 | #define RBUNZIP_H | ||
24 | |||
25 | #include <QtCore> | ||
26 | #include "zip/unzip.h" | ||
27 | #include "zip/zip.h" | ||
28 | |||
29 | class RbUnZip : public QObject, public UnZip | ||
30 | { | ||
31 | Q_OBJECT | ||
32 | public: | ||
33 | UnZip::ErrorCode extractArchive(const QString&); | ||
34 | |||
35 | signals: | ||
36 | void unzipProgress(int, int); | ||
37 | |||
38 | public slots: | ||
39 | void abortUnzip(void); | ||
40 | |||
41 | private: | ||
42 | bool m_abortunzip; | ||
43 | }; | ||
44 | |||
45 | #endif | ||
46 | |||