projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge master.
[dcpomatic.git]
/
src
/
lib
/
util.h
diff --git
a/src/lib/util.h
b/src/lib/util.h
index 3d251cf06ad0d1d9ca36816ea438fdd41d26a680..31d0fc96707fb976759fed42e69b51225a845389 100644
(file)
--- a/
src/lib/util.h
+++ b/
src/lib/util.h
@@
-293,5
+293,16
@@
extern int64_t video_frames_to_audio_frames (SourceFrame v, float audio_sample_r
extern bool still_image_file (std::string);
extern std::pair<std::string, int> cpu_info ();
+class LocaleGuard
+{
+public:
+ LocaleGuard ();
+ ~LocaleGuard ();
+
+private:
+ char* _old;
+};
+
+
#endif