From 800bcd232186a71c90782ee002d6072aab257f28 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Wed, 10 Feb 2016 23:19:30 +0100 Subject: Remove static Quazip --- daemon/quazip/quaadler32.h | 54 ---------------------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 daemon/quazip/quaadler32.h (limited to 'daemon/quazip/quaadler32.h') diff --git a/daemon/quazip/quaadler32.h b/daemon/quazip/quaadler32.h deleted file mode 100644 index 4e117e7..0000000 --- a/daemon/quazip/quaadler32.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef QUAADLER32_H -#define QUAADLER32_H - -/* -Copyright (C) 2010 Adam Walczak -Copyright (C) 2005-2014 Sergey A. Tachenov - -This file is part of QuaZIP. - -QuaZIP is free software: you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -QuaZIP is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License -along with QuaZIP. If not, see . - -See COPYING file for the full LGPL text. - -Original ZIP package is copyrighted by Gilles Vollant and contributors, -see quazip/(un)zip.h files for details. Basically it's the zlib license. -*/ - -#include - -#include "quachecksum32.h" - -/// Adler32 checksum -/** \class QuaAdler32 quaadler32.h - * This class wrappers the adler32 function with the QuaChecksum32 interface. - * See QuaChecksum32 for more info. - */ -class QUAZIP_EXPORT QuaAdler32 : public QuaChecksum32 -{ - -public: - QuaAdler32(); - - quint32 calculate(const QByteArray &data); - - void reset(); - void update(const QByteArray &buf); - quint32 value(); - -private: - quint32 checksum; -}; - -#endif //QUAADLER32_H -- cgit v1.2.3