From 477788d7dd83ecac5485f3d7c927229a9885ec27 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 17 Sep 2016 18:57:40 +0000 Subject: archive plugin: added metadata model git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6731 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/archive/archiveinputdevice.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/archive/archiveinputdevice.h') diff --git a/src/plugins/Input/archive/archiveinputdevice.h b/src/plugins/Input/archive/archiveinputdevice.h index 12010e76c..c70fc9793 100644 --- a/src/plugins/Input/archive/archiveinputdevice.h +++ b/src/plugins/Input/archive/archiveinputdevice.h @@ -17,6 +17,7 @@ * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ + #ifndef ARCHIVEINPUTDEVICE_H #define ARCHIVEINPUTDEVICE_H @@ -29,7 +30,9 @@ class ArchiveInputDevice : public QIODevice { Q_OBJECT public: - ArchiveInputDevice(struct archive *a, struct archive_entry *e, QObject *parent); + ArchiveInputDevice(const QString &url, QObject *parent = 0); + ArchiveInputDevice(struct archive *a, struct archive_entry *e, QObject *parent = 0); + virtual ~ArchiveInputDevice(); bool seek(qint64 pos); qint64 size() const; @@ -42,7 +45,7 @@ private: struct archive *m_archive; struct archive_entry *m_entry; QBuffer m_buffer; - + bool m_close_libarchive; }; #endif // ARCHIVEINPUTDEVICE_H -- cgit v1.2.3-13-gbd6f