projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Observe CPL changing, so that (e.g.) Make KDM button becomes sensitive
[dcpomatic.git]
/
src
/
wx
/
kdm_cpl_panel.h
diff --git
a/src/wx/kdm_cpl_panel.h
b/src/wx/kdm_cpl_panel.h
index 720a1efe85007d1779f80de170959db4ba0cba81..91821d7a3bd2eae3b64229475b69f113fd64fefb 100644
(file)
--- a/
src/wx/kdm_cpl_panel.h
+++ b/
src/wx/kdm_cpl_panel.h
@@
-18,12
+18,15
@@
*/
*/
+
#include "lib/types.h"
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
LIBDCP_ENABLE_WARNINGS
#include <boost/filesystem.hpp>
#include "lib/types.h"
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
LIBDCP_ENABLE_WARNINGS
#include <boost/filesystem.hpp>
+#include <boost/signals2.hpp>
+
class KDMCPLPanel : public wxPanel
{
class KDMCPLPanel : public wxPanel
{
@@
-33,6
+36,8
@@
public:
boost::filesystem::path cpl () const;
bool has_selected () const;
boost::filesystem::path cpl () const;
bool has_selected () const;
+ boost::signals2::signal<void ()> Changed;
+
private:
void update_cpl_choice ();
void update_cpl_summary ();
private:
void update_cpl_choice ();
void update_cpl_summary ();