diff options
Diffstat (limited to 'src/wx/content_view.h')
| -rw-r--r-- | src/wx/content_view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/content_view.h b/src/wx/content_view.h index 300e698f3..30284d42e 100644 --- a/src/wx/content_view.h +++ b/src/wx/content_view.h @@ -24,6 +24,7 @@ LIBDCP_DISABLE_WARNINGS #include <wx/listctrl.h> LIBDCP_ENABLE_WARNINGS +#include <boost/signals2.hpp> #include <vector> @@ -39,8 +40,11 @@ public: std::shared_ptr<Content> selected () const; void update (); + boost::signals2::signal<void (std::weak_ptr<Content>)> Activated; + private: void add (std::shared_ptr<Content> content); + void activated(wxListEvent& ev); std::weak_ptr<Film> _film; std::vector<std::shared_ptr<Content>> _content; |
