File indexing completed on 2024-12-22 04:15:49

0001 /*
0002  *  SPDX-FileCopyrightText: 2007 Cyrille Berger <cberger@cberger.net>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef _KIS_OPEN_RASTER_LOAD_CONTEXT_H_
0008 #define _KIS_OPEN_RASTER_LOAD_CONTEXT_H_
0009 
0010 class QString;
0011 class QDomDocument;
0012 class KoStore;
0013 
0014 #include <KoStoreDevice.h>
0015 #include <kis_image.h>
0016 #include <kis_types.h>
0017 
0018 class KisOpenRasterLoadContext
0019 {
0020 public:
0021     KisOpenRasterLoadContext(KoStore *store);
0022     KisImageSP loadDeviceData(const QString &fileName);
0023     QDomDocument loadStack();
0024 private:
0025     KoStore *m_store;
0026 };
0027 
0028 
0029 #endif