File indexing completed on 2024-12-15 04:01:20
0001 /* 0002 * SPDX-FileCopyrightText: 2019-2023 Mattia Basaglia <dev@dragon.best> 0003 * 0004 * SPDX-License-Identifier: GPL-3.0-or-later 0005 */ 0006 0007 #pragma once 0008 #include <QString> 0009 #include <QVariant> 0010 0011 namespace glaxnimate::plugin { 0012 class Plugin; 0013 class PluginScript; 0014 0015 class Executor 0016 { 0017 public: 0018 virtual ~Executor() = default; 0019 virtual bool execute(const plugin::Plugin& plugin, const plugin::PluginScript& script, const QVariantList& in_args) = 0; 0020 virtual QVariant get_global(const QString& name) = 0; 0021 }; 0022 0023 } // namespace glaxnimate::plugin