Untested merge of master.
[dcpomatic.git] / src / lib / util.h
index 065801a889b3888769794522d80c094b91782eff..02cc742aa52f62a8fac1a467d1c7a44b310f8625 100644 (file)
@@ -198,5 +198,16 @@ private:
 extern int64_t video_frames_to_audio_frames (ContentVideoFrame v, float audio_sample_rate, float frames_per_second);
 extern std::pair<std::string, int> cpu_info ();
 
+class LocaleGuard
+{
+public:
+       LocaleGuard ();
+       ~LocaleGuard ();
+       
+private:
+       char* _old;
+};
+
+
 #endif