X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fname_format_editor.h;h=b4fe5691ea08b8bfa47d40f81fb55d5764cd88d7;hb=d70f755dde2812bf2311e2ce09563af1b5334d03;hp=204de76d3a943d6f438d8b9b2ad6026002284d0a;hpb=1d022220899c63e2cae0a2a9a81f6c6db955a23d;p=dcpomatic.git diff --git a/src/wx/name_format_editor.h b/src/wx/name_format_editor.h index 204de76d3..b4fe5691e 100644 --- a/src/wx/name_format_editor.h +++ b/src/wx/name_format_editor.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2016 Carl Hetherington + Copyright (C) 2016-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,19 +18,24 @@ */ + #ifndef DCPOMATIC_NAME_FORMAT_EDITOR_H #define DCPOMATIC_NAME_FORMAT_EDITOR_H + #include "lib/compose.hpp" #include +#include +LIBDCP_DISABLE_WARNINGS #include -#include +LIBDCP_ENABLE_WARNINGS #include + 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; @@ -54,6 +59,8 @@ private: dcp::NameFormat _name; dcp::NameFormat::Map _examples; + std::string _suffix; }; + #endif