diff options
Diffstat (limited to 'src/lib/util.h')
| -rw-r--r-- | src/lib/util.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h index 065801a88..02cc742aa 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -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 |
