C++11 tidying.
[dcpomatic.git] / src / wx / content_properties_dialog.h
index eb6f11ddb8a0cf1496eaa7c0c54e9b61d7bb779f..f8e8eaf2f280b38e920bd868ef86579f45f17baf 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2015-2016 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "table_dialog.h"
-#include <boost/shared_ptr.hpp>
+#include "lib/user_property.h"
 #include <list>
 #include <map>
 
+
 class Content;
+class Film;
 class UserProperty;
 
+
 class ContentPropertiesDialog : public TableDialog
 {
 public:
-       ContentPropertiesDialog (wxWindow* parent, boost::shared_ptr<Content> content);
+       ContentPropertiesDialog (wxWindow* parent, std::shared_ptr<const Film> film, std::shared_ptr<Content> content);
 
 private:
-       void maybe_add_group (std::map<std::string, std::list<UserProperty> > const & groups, std::string name);
+       void maybe_add_group (std::map<UserProperty::Category, std::list<UserProperty>> const & groups, UserProperty::Category category);
 };