File indexing completed on 2022-10-04 15:37:19

0001 /*
0002     SPDX-FileCopyrightText: 2009 Jean-Baptiste Mardelle <jb@kdenlive.org>
0003 
0004 SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QStringList>
0010 
0011 class ClipGenerator
0012 {
0013 public:
0014     virtual ~ClipGenerator() {}
0015 
0016     virtual QStringList generators(const QStringList &producers = QStringList()) const = 0;
0017     virtual QUrl generatedClip(const QString &renderer, const QString &generator, const QUrl &projectFolder, const QStringList &lumaNames,
0018                                const QStringList &lumaFiles, const double fps, const int width, const int height) = 0;
0019 };
0020 
0021 Q_DECLARE_INTERFACE(ClipGenerator, "com.kdenlive.ClipGenerator.ClipGeneratorInterface/1.0")