Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / wx / i18n_hook.h
index 40fd89a2c66cce72ecaed2701c7a47afbbad450d..50c020b2a33219aaaa2539c697a4de338bbc4c05 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018-2019 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #ifndef DCPOMATIC_I18N_HOOK_H
 #define DCPOMATIC_I18N_HOOK_H
 
+
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
 #include <map>
 
+
 class I18NHook
 {
 public:
@@ -45,4 +51,5 @@ private:
        static std::map<std::string, std::string> _translations;
 };
 
+
 #endif