diff --git a/core/dplugins/dimg/jpeg2000/dimgjpeg2000loader.cpp b/core/dplugins/dimg/jpeg2000/dimgjpeg2000loader.cpp index b576c8b112..57d3fa1584 100644 --- a/core/dplugins/dimg/jpeg2000/dimgjpeg2000loader.cpp +++ b/core/dplugins/dimg/jpeg2000/dimgjpeg2000loader.cpp @@ -1,91 +1,59 @@ /* ============================================================ * * This file is a part of digiKam project * https://www.digikam.org * * Date : 2006-06-14 * Description : A JPEG-2000 IO file for DImg framework * * Copyright (C) 2006-2019 by Gilles Caulier * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General * Public License as published by the Free Software Foundation; * either version 2, or (at your option) * any later version. * * This program 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 General Public License for more details. * * ============================================================ */ #include "dimgjpeg2000loader.h" -// Qt includes - -#include -#include -#include - // Local includes -#include "digikam_config.h" -#include "dimg.h" #include "digikam_debug.h" -#include "dimgloaderobserver.h" -#include "dmetadata.h" - -// Jasper includes - -#ifndef Q_CC_MSVC -extern "C" -{ -#endif - -#if defined(Q_OS_DARWIN) && defined(Q_CC_CLANG) -# pragma clang diagnostic push -# pragma clang diagnostic ignored "-Wshift-negative-value" -#endif - -#include - -#if defined(Q_OS_DARWIN) && defined(Q_CC_CLANG) -# pragma clang diagnostic pop -#endif - -#ifndef Q_CC_MSVC -} -#endif namespace DigikamJPEG2000DImgPlugin { DImgJPEG2000Loader::DImgJPEG2000Loader(DImg* const image) : DImgLoader(image) { m_hasAlpha = false; m_sixteenBit = false; } DImgJPEG2000Loader::~DImgJPEG2000Loader() { } bool DImgJPEG2000Loader::hasAlpha() const { return m_hasAlpha; } bool DImgJPEG2000Loader::sixteenBit() const { return m_sixteenBit; } bool DImgJPEG2000Loader::isReadOnly() const { return false; } } // namespace DigikamJPEG2000DImgPlugin