Add option to open a DCP in the player (#1312).
[dcpomatic.git] / src / lib / cross.cc
index 4991d9ae38e3fef519e4ec297c8a021c903e0eb2..75205dc1aa11709d84b651421f452005e0399b6d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -414,6 +414,12 @@ start_batch_converter (boost::filesystem::path dcpomatic)
        start_tool (dcpomatic, "dcpomatic2_batch", "DCP-o-matic\\ 2\\ Batch\\ Converter.app");
 }
 
+void
+start_player (boost::filesystem::path dcpomatic)
+{
+       start_tool (dcpomatic, "dcpomatic2_player", "DCP-o-matic\\ 2\\ Player.app");
+}
+
 uint64_t
 thread_id ()
 {