X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftime%2Futils.h;h=59fe0c2c0ca1cab816c78f91b28baaeaba6623b0;hb=dff78b5a8a1d947eb3391dd919abfa04a48d589c;hp=e16cb65649e7e0bac017035b83ef2435a6eb674e;hpb=fe77fc6b869a71bf94d501a0762579f4ddbc5094;p=libs%2Fcore.git diff --git a/source/time/utils.h b/source/time/utils.h index e16cb65..59fe0c2 100644 --- a/source/time/utils.h +++ b/source/time/utils.h @@ -6,6 +6,8 @@ Distributed under the LGPL #ifndef MSP_TIME_UTILS_H_ #define MSP_TIME_UTILS_H_ +#include + namespace Msp { namespace Time { @@ -13,6 +15,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 &);