]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/utils.h
Add decorations for things which are considered part of the API
[libs/core.git] / source / time / utils.h
index 00b6ef86c274dca75cdaac1bd38eeaa353b3819d..dd325b0a1d546d18b92b402bbc1eb6578ec26df7 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_TIME_UTILS_H_
 
 #include <string>
+#include <msp/core/mspcore_api.h>
 
 namespace Msp {
 namespace Time {
@@ -10,15 +11,15 @@ class TimeDelta;
 class TimeStamp;
 
 /** Returns the current timestamp. */
-TimeStamp now();
+MSPCORE_API TimeStamp now();
 
-std::string format_now(const std::string &);
+MSPCORE_API std::string format_now(const std::string &);
 
 /** Returns the CPU time used by the program so far. */
-TimeDelta get_cpu_time();
+MSPCORE_API TimeDelta get_cpu_time();
 
 /** Sleeps for the given duration. */
-void sleep(const TimeDelta &);
+MSPCORE_API void sleep(const TimeDelta &);
 
 } // namespace Time
 } // namespace Msp