summaryrefslogtreecommitdiff
path: root/src/wx/metadata_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-02 21:59:51 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-04 20:48:34 +0200
commit60520afb4a6bb364c981c2b6976805d4128ac81f (patch)
tree9e83bf0393f127c3dcf075e9c4c367c5c13b6522 /src/wx/metadata_dialog.h
parent0d9831021c7dc508bc69f7bd759dacd50ccb2766 (diff)
Inherit SMPTEMetadataDialog from a base class.
Diffstat (limited to 'src/wx/metadata_dialog.h')
-rw-r--r--src/wx/metadata_dialog.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/wx/metadata_dialog.h b/src/wx/metadata_dialog.h
new file mode 100644
index 000000000..ef5dd0687
--- /dev/null
+++ b/src/wx/metadata_dialog.h
@@ -0,0 +1,39 @@
+/*
+ Copyright (C) 2021 Carl Hetherington <cth@carlh.net>
+
+ This file is part of DCP-o-matic.
+
+ DCP-o-matic is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ DCP-o-matic is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
+#include "lib/warnings.h"
+#include "lib/weak_film.h"
+DCPOMATIC_DISABLE_WARNINGS
+#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
+
+
+class MetadataDialog : public wxDialog, public WeakFilm
+{
+public:
+ MetadataDialog (wxWindow* parent, std::weak_ptr<Film> film);
+
+ virtual void setup ();
+
+protected:
+ virtual void setup_standard (wxPanel*, wxSizer*) {}
+ virtual void setup_advanced (wxPanel*, wxSizer*) {}
+};