X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ftime%2Futils.h;h=0a2b351ef6b218743122106697253f04803ef090;hb=62a984b46e08740d19cb055f01be3365982f6b9d;hp=9efe39a3715bf0cb40f486bfd9872aa08765e48e;hpb=e1ea831a640fba534e7e42e399f04cdf681ef8d3;p=libs%2Fcore.git diff --git a/source/time/utils.h b/source/time/utils.h index 9efe39a..0a2b351 100644 --- a/source/time/utils.h +++ b/source/time/utils.h @@ -1,11 +1,8 @@ -/* -This file is part of libmspframework -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ #ifndef MSP_TIME_UTILS_H_ #define MSP_TIME_UTILS_H_ +#include + namespace Msp { namespace Time { @@ -13,8 +10,9 @@ 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 &); +extern void sleep(const TimeDelta &); } // namespace Time } // namespace Msp