diff options
Diffstat (limited to 'rbutil/rbutilqt/rbzip.h')
-rw-r--r-- | rbutil/rbutilqt/rbzip.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbzip.h b/rbutil/rbutilqt/rbzip.h new file mode 100644 index 0000000000..c4f637500b --- /dev/null +++ b/rbutil/rbutilqt/rbzip.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2008 by Dominik Wenger | ||
10 | * $Id: rbzip.h 16993 2008-04-06 18:12:56Z bluebrother $ | ||
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 RBZIP_H | ||
21 | #define RBZIP_H | ||
22 | |||
23 | #include <QtCore> | ||
24 | #include "zip/zip.h" | ||
25 | |||
26 | #include "progressloggerinterface.h" | ||
27 | |||
28 | class RbZip : public QObject, public Zip | ||
29 | { | ||
30 | Q_OBJECT | ||
31 | public: | ||
32 | Zip::ErrorCode createZip(QString zip,QString dir,ProgressloggerInterface *dp); | ||
33 | |||
34 | virtual void progress(); | ||
35 | |||
36 | private: | ||
37 | int m_curEntry; | ||
38 | ProgressloggerInterface *m_logger; | ||
39 | }; | ||
40 | |||
41 | #endif | ||
42 | |||