Observe CPL changing, so that (e.g.) Make KDM button becomes sensitive
[dcpomatic.git] / src / wx / kdm_cpl_panel.h
index 9ce90217e8ac3a50a1b5d18ec08753fe8940c59b..91821d7a3bd2eae3b64229475b69f113fd64fefb 100644 (file)
@@ -25,6 +25,7 @@ LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
 LIBDCP_ENABLE_WARNINGS
 #include <boost/filesystem.hpp>
+#include <boost/signals2.hpp>
 
 
 class KDMCPLPanel : public wxPanel
@@ -35,6 +36,8 @@ public:
        boost::filesystem::path cpl () const;
        bool has_selected () const;
 
+       boost::signals2::signal<void ()> Changed;
+
 private:
        void update_cpl_choice ();
        void update_cpl_summary ();