X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftime%2Futils.h;h=0a2b351ef6b218743122106697253f04803ef090;hb=62a984b46e08740d19cb055f01be3365982f6b9d;hp=e16cb65649e7e0bac017035b83ef2435a6eb674e;hpb=fe77fc6b869a71bf94d501a0762579f4ddbc5094;p=libs%2Fcore.git diff --git a/source/time/utils.h b/source/time/utils.h index e16cb65..0a2b351 100644 --- a/source/time/utils.h +++ b/source/time/utils.h @@ -1,11 +1,8 @@ -/* -This file is part of libmspcore -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