]> git.sesse.net Git - kdenlive/blobdiff - src/kdenlivedoc.h
Merge branch 'master' into effectstack
[kdenlive] / src / kdenlivedoc.h
index fcdb0979170f8d6d5735103a16fcaff25314a04b..d9bacf130e5eacb8552e69583b11e3bfb0265871 100644 (file)
@@ -155,6 +155,8 @@ Q_OBJECT public:
     void setTrackEffect(int trackIndex, int effectIndex, QDomElement effect);
     const EffectsList getTrackEffects(int ix);
     QDomElement getTrackEffect(int trackIndex, int effectIndex) const;
+    /** @brief Check if a track already contains a specific effect. */
+    int hasTrackEffect(int trackIndex, const QString &tag, const QString &id) const;
     /** @brief Get a list of folder id's that were opened on last save. */
     QStringList getExpandedFolders();
     /** @brief Read the display ratio from an xml project file. */