If dircache and database "load to ram" is enabled then get the id3 info from the...
[kugel-rb.git] / rbutil / rbutilqt / base / rbzip.h
blobd2681ec097ea6a6b44c3cfa0e74c440eafaf3e98
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2008 by Dominik Wenger
10 * $Id$
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.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #ifndef RBZIP_H
23 #define RBZIP_H
25 #include <QtCore>
26 #include "zip/zip.h"
28 class RbZip : public QObject, public Zip
30 Q_OBJECT
31 public:
32 Zip::ErrorCode createZip(QString zip,QString dir);
34 virtual void progress();
36 signals:
37 void zipProgress(int, int);
39 private:
40 int m_curEntry;
41 int m_numEntrys;
44 #endif