]> git.lyx.org Git - lyx.git/blobdiff - src/support/lyxtime.h
Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList
[lyx.git] / src / support / lyxtime.h
index 71d62fcee94b46921529e663a764ee9536e3681d..147d3d6b6dfb022e93920eafe5266a233ee6633e 100644 (file)
 
 namespace lyx {
 
-typedef time_t time_type;
-
-time_type current_time();
+time_t current_time();
 
 /** Returns a locale-dependent formatting of the date
  *  and time encoded in \c time. The \p fmt string
  *  holds the formatting arguments of \c strftime.
  */
-std::string const formatted_time(time_type t, std::string const & fmt);
-
-/** Returns a locale-dependent formatting of the date
- *  and time encoded in \c time. For the formatting,
- *  \c lyxrc.date_insert_format is being used.
- */
-std::string const formatted_time(time_type t);
+std::string const formatted_time(time_t t, std::string const & fmt);
 
 }; // namespace lyx