X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_kdm.cc;h=7a8d7cf349d532749ba69b8cfaf217d7bc232d41;hp=65bb921e57ae6ec05a54371410c5b5e09ab032bc;hb=25eb7aa723af004162fc7f95995df250c4e4571b;hpb=6e0f867a69cf4e337370edc986347218afde548e diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index 65bb921e5..7a8d7cf34 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -38,8 +38,10 @@ #include "lib/compose.hpp" #include "lib/config.h" #include "lib/cross.h" +#include "lib/dcpomatic_log.h" #include "lib/dkdm_wrapper.h" #include "lib/exceptions.h" +#include "lib/file_log.h" #include "lib/job_manager.h" #include "lib/kdm_with_metadata.h" #include "lib/screen.h" @@ -48,14 +50,14 @@ #include #include #include -#include "lib/warnings.h" -DCPOMATIC_DISABLE_WARNINGS +#include +LIBDCP_DISABLE_WARNINGS #include #include #include #include #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS #ifdef __WXOSX__ #include #endif @@ -203,6 +205,8 @@ public: _export_dkdm->Bind (wxEVT_BUTTON, bind (&DOMFrame::export_dkdm_clicked, this)); setup_sensitivity (); + + dcpomatic_log = make_shared(State::write_path("kdm.log")); } private: