Don't add DKDMs twice (#2545).
[dcpomatic.git] / src / lib / dkdm_wrapper.h
index 7227fdc86449ea4ccf9b28fdb8c803fe60878b1c..d15f017c513320710bad7081b26620a4566d535b 100644 (file)
@@ -93,6 +93,8 @@ public:
        void add (std::shared_ptr<DKDMBase> child, std::shared_ptr<DKDM> previous = std::shared_ptr<DKDM>());
         void remove (std::shared_ptr<DKDMBase> child);
 
+       bool contains(std::string dkdm_id) const;
+
 private:
        std::string _name;
        std::list<std::shared_ptr<DKDMBase>> _children;