/*
- Copyright (C) 2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2016-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
#ifndef DCPOMATIC_NAME_FORMAT_EDITOR_H
#define DCPOMATIC_NAME_FORMAT_EDITOR_H
+
#include "lib/compose.hpp"
+#include "lib/warnings.h"
#include <dcp/name_format.h>
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
-#include <boost/foreach.hpp>
+DCPOMATIC_ENABLE_WARNINGS
#include <boost/signals2.hpp>
+
class NameFormatEditor
{
public:
- NameFormatEditor (wxWindow* parent, dcp::NameFormat name, dcp::NameFormat::Map titles, dcp::NameFormat::Map examples);
+ NameFormatEditor (wxWindow* parent, dcp::NameFormat name, dcp::NameFormat::Map titles, dcp::NameFormat::Map examples, std::string suffix);
wxPanel* panel () const {
return _panel;
dcp::NameFormat _name;
dcp::NameFormat::Map _examples;
+ std::string _suffix;
};
+
#endif