2023-03-06 14:42:04 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
// Copyright The Music Player Daemon Project
|
2012-08-08 09:15:34 +02:00
|
|
|
|
2013-01-02 20:29:24 +01:00
|
|
|
#ifndef MPD_TIME_PRINT_HXX
|
|
|
|
#define MPD_TIME_PRINT_HXX
|
2012-08-08 09:15:34 +02:00
|
|
|
|
2017-02-10 23:46:57 +01:00
|
|
|
#include <chrono>
|
|
|
|
|
2015-08-06 22:10:25 +02:00
|
|
|
class Response;
|
2012-08-08 09:15:34 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Write a line with a time stamp to the client.
|
|
|
|
*/
|
|
|
|
void
|
2017-02-10 23:46:57 +01:00
|
|
|
time_print(Response &r, const char *name,
|
2018-07-25 08:33:59 +02:00
|
|
|
std::chrono::system_clock::time_point t);
|
2017-02-10 23:46:57 +01:00
|
|
|
|
2012-08-08 09:15:34 +02:00
|
|
|
#endif
|