]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/utils.h
Make to_unixtime const
[libs/core.git] / source / time / utils.h
index e16cb65649e7e0bac017035b83ef2435a6eb674e..9755356d4a8da61d9db0fa32738461e6171e5466 100644 (file)
@@ -1,11 +1,15 @@
-/*
+/* $Id$
+
 This file is part of libmspcore     
-Copyright © 2006  Mikko Rasa, Mikkosoft Productions
+Copyright © 2006-2007  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
+
 #ifndef MSP_TIME_UTILS_H_
 #define MSP_TIME_UTILS_H_
 
+#include <string>
+
 namespace Msp {
 namespace Time {
 
@@ -13,6 +17,7 @@ class TimeDelta;
 class TimeStamp;
 
 extern TimeStamp now();
+extern std::string format_now(const std::string &);
 extern TimeDelta get_cpu_time();
 extern int sleep(const TimeDelta &);