File indexing completed on 2025-02-09 07:11:25
0001 /* 0002 This file is part of the Kasten Framework, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2008-2009 Friedrich W. H. Kossebau <kossebau@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #ifndef KASTEN_MODELENCODERFILESYSTEMEXPORTJOB_HPP 0010 #define KASTEN_MODELENCODERFILESYSTEMEXPORTJOB_HPP 0011 0012 // lib 0013 #include "abstractfilesystemexportjob.hpp" 0014 0015 namespace Kasten { 0016 0017 class AbstractModelStreamEncoder; 0018 0019 class ModelEncoderFileSystemExportJobPrivate; 0020 0021 class KASTENCORE_EXPORT ModelEncoderFileSystemExportJob : public AbstractFileSystemExportJob 0022 { 0023 Q_OBJECT 0024 0025 public: 0026 ModelEncoderFileSystemExportJob(AbstractModel* model, const AbstractModelSelection* selection, 0027 const QUrl& url, AbstractModelStreamEncoder* encoder); 0028 ~ModelEncoderFileSystemExportJob() override; 0029 0030 protected: // AbstractFileSystemExportJob API 0031 void startExportToFile() override; 0032 0033 private: 0034 Q_DECLARE_PRIVATE(ModelEncoderFileSystemExportJob) 0035 }; 0036 0037 } 0038 0039 #endif