File indexing completed on 2024-06-16 04:38:25
0001 /* 0002 SPDX-FileCopyrightText: 2007-2009 Sergio Pistone <sergio_pistone@yahoo.com.ar> 0003 SPDX-FileCopyrightText: 2010-2022 Mladen Milinkovic <max@smoothware.net> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef SCRIPTING_SUBTITLELINEMODULE_H 0009 #define SCRIPTING_SUBTITLELINEMODULE_H 0010 0011 #include "core/subtitleline.h" 0012 #include "core/subtitletarget.h" 0013 0014 #include <QObject> 0015 0016 namespace SubtitleComposer { 0017 namespace Scripting { 0018 class SubtitleLineModule : public QObject 0019 { 0020 Q_OBJECT 0021 0022 Q_ENUMS(TextTarget) 0023 Q_ENUMS(ErrorFlag) 0024 0025 public: 0026 using TextTarget = SubtitleComposer::SubtitleTarget; 0027 using ErrorFlag = SubtitleComposer::SubtitleLine::ErrorFlag; 0028 0029 SubtitleLineModule(QObject *parent = 0); 0030 }; 0031 } 0032 } 0033 #endif