summaryrefslogtreecommitdiff
path: root/src/wx/job_view_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-07 17:11:31 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-09 13:44:58 +0100
commitf29f405000752ad568de1e304640a4edac8214bc (patch)
treecb4990c7e7d90ddc6d5fddb9a69f3379a693c3fa /src/wx/job_view_dialog.cc
parentbf0b74f67b87b2361529cefaae45533e5935a9c4 (diff)
Basics of job view when sending KDM emails from dcpomatic_kdm.
Diffstat (limited to 'src/wx/job_view_dialog.cc')
-rw-r--r--src/wx/job_view_dialog.cc36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/wx/job_view_dialog.cc b/src/wx/job_view_dialog.cc
new file mode 100644
index 000000000..a2e3cfe27
--- /dev/null
+++ b/src/wx/job_view_dialog.cc
@@ -0,0 +1,36 @@
+/*
+ Copyright (C) 2015 Carl Hetherington <cth@carlh.net>
+
+ This program 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.
+
+ This program 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 this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+#include "job_view_dialog.h"
+#include "job_view.h"
+
+using boost::shared_ptr;
+
+JobViewDialog::JobViewDialog (wxWindow* parent, wxString title, shared_ptr<Job> job)
+ : TableDialog (parent, title, 4, 0, false)
+{
+ _view = new JobView (job, this, this, _table);
+ layout ();
+ SetMinSize (wxSize (960, -1));
+}
+
+JobViewDialog::~JobViewDialog ()
+{
+ delete _view;
+}