]> git.lyx.org Git - lyx.git/blobdiff - src/support/lyxtime.h
Use explicit macro to declare that we want to use C++11
[lyx.git] / src / support / lyxtime.h
index 6a8bd27682252bf0340ffc07dc926a66939d7463..74586cf7de947264ed07a2beb7cc57486c6bfe5a 100644 (file)
@@ -18,6 +18,7 @@
 
 
 namespace lyx {
+namespace support {
 
 time_t current_time();
 
@@ -27,6 +28,12 @@ time_t current_time();
  */
 std::string const formatted_time(time_t t, std::string const & fmt);
 
+/**
+ * Inverse of asctime(gmtime()).
+ */
+time_t from_asctime_utc(std::string t);
+
+} // namespace support
 } // namespace lyx
 
 #endif // LYXTIME_H