X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompressor.h;h=d80e41d8fd3e06128f19752c0a90afb9b1d8d72f;hp=177137d8939ff666303056c9ffb452f2cbc4a594;hb=6718d7a1ccd42d7aae75e57d6974e0b1e0384044;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c diff --git a/src/common/compressor.h b/src/common/compressor.h index 177137d8..d80e41d8 100644 --- a/src/common/compressor.h +++ b/src/common/compressor.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,19 +18,14 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef COMPRESSOR_H -#define COMPRESSOR_H +#pragma once + +#include #include class QTcpSocket; -#ifdef HAVE_ZLIB - typedef struct z_stream_s *z_streamp; -#else - typedef struct mz_stream_s *z_streamp; -#endif - class Compressor : public QObject { Q_OBJECT @@ -90,5 +85,3 @@ private: z_streamp _inflater; z_streamp _deflater; }; - -#endif