]> git.sesse.net Git - kdenlive/blobdiff - src/effectslist.h
Try to fix audio mixing bug ( http://www.kdenlive.org:80/mantis/view.php?id=228 )
[kdenlive] / src / effectslist.h
index b5b87e7b993e16cbe07ecc04f47ecbe39fff21ce..fe36a0c37a196cb6ac6013a0d450726487cfa4fa 100644 (file)
@@ -34,11 +34,16 @@ public:
     ~EffectsList();
     /** Returns an XML version of this Effect.*/
     QDomElement getEffectByName(const QString & name) const;
-    QDomElement getEffectByTag(const QString & tag) const;
+    QDomElement getEffectByTag(const QString & tag, const QString & id) const;
+    /** if the list contains effect defined by tag + id, returns effect index, otherwise -1 */
+    int hasEffect(const QString & tag, const QString & id) const;
+    QStringList effectIdInfo(const int ix) const;
     QStringList effectNames();
-    QString getInfo(QString effectName);
+    QString getInfo(const QString & tag, const QString & id) const;
+    QString getInfoFromIndex(const int ix) const;
     QMap <QString, QString> effect(const QString & name);
-
+    EffectsList clone() const;
+    static bool hasKeyFrames(QDomElement effect);
     static void setParameter(QDomElement effect, QString name, QString value);
 };