summaryrefslogtreecommitdiff
path: root/src/lib/dcpomatic_log.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-23 12:10:16 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-23 12:10:16 +0000
commitbefd7e041724c141f2178aa6646b6425e00c8cc4 (patch)
tree407d461ded98ae013e72b926f6a1ce2acbe724af /src/lib/dcpomatic_log.cc
parent12bdca1c0c167e28ef661d897723a01d8552e11d (diff)
Add missing files.
Diffstat (limited to 'src/lib/dcpomatic_log.cc')
-rw-r--r--src/lib/dcpomatic_log.cc25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lib/dcpomatic_log.cc b/src/lib/dcpomatic_log.cc
new file mode 100644
index 000000000..63b5ad375
--- /dev/null
+++ b/src/lib/dcpomatic_log.cc
@@ -0,0 +1,25 @@
+/*
+ Copyright (C) 2018 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 "dcpomatic_log.h"
+#include "null_log.h"
+
+/** The current log; set up by the front-ends when they have a Film to log into */
+boost::shared_ptr<Log> dcpomatic_log (new NullLog());