/*
- 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);
};