File indexing completed on 2025-01-05 03:56:02

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2008-09-25
0007  * Description : a tool to convert RAW file to DNG
0008  *
0009  * SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_DNG_WRITER_HOST_H
0016 #define DIGIKAM_DNG_WRITER_HOST_H
0017 
0018 // Local includes
0019 
0020 #include "dngwriter_p.h"
0021 #include "digikam_export.h"
0022 
0023 namespace Digikam
0024 {
0025 
0026 class DIGIKAM_EXPORT DNGWriterHost : public dng_host
0027 {
0028 
0029 public:
0030 
0031     explicit DNGWriterHost(DNGWriter::Private* const priv, dng_memory_allocator* const allocator=nullptr);
0032     ~DNGWriterHost();
0033 
0034 private:
0035 
0036     void SniffForAbort();
0037 
0038 private:
0039 
0040     DNGWriter::Private* const m_priv;
0041 };
0042 
0043 } // namespace Digikam
0044 
0045 #endif // DIGIKAM_DNG_WRITER_HOST_H