summaryrefslogtreecommitdiff
path: root/src/wx/content_sub_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-08-08 18:11:11 +0200
committerCarl Hetherington <cth@carlh.net>2023-08-09 10:18:46 +0200
commita3c1ae7c2e46b65347341896b3d1a505ff92632b (patch)
tree2b096eb0676f52c9989952e341f2bd98143ce125 /src/wx/content_sub_panel.h
parentaf5b9dfadf8989311cd5f78554349f0283912522 (diff)
Extract Film::Property to its own header to (maybe) increase compilation speed.
Diffstat (limited to 'src/wx/content_sub_panel.h')
-rw-r--r--src/wx/content_sub_panel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/content_sub_panel.h b/src/wx/content_sub_panel.h
index 2817fab6e..a3916817e 100644
--- a/src/wx/content_sub_panel.h
+++ b/src/wx/content_sub_panel.h
@@ -23,11 +23,12 @@
#define DCPOMATIC_CONTENT_SUB_PANEL_H
-#include "lib/film.h"
+#include "lib/film_property.h"
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
LIBDCP_ENABLE_WARNINGS
+#include <memory>
class ContentPanel;
class Content;
@@ -42,7 +43,7 @@ public:
virtual void create () = 0;
- virtual void film_changed (Film::Property) {}
+ virtual void film_changed(FilmProperty) {}
/** Called when a given property of one of the selected Contents changes */
virtual void film_content_changed (int) = 0;
/** Called when the list of selected Contents changes */