event/TimerEvent: add type alias for std::chrono::steady_clock::duration
This commit is contained in:
@@ -21,17 +21,16 @@
|
||||
#define MPD_STATE_FILE_CONFIG_HXX
|
||||
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
|
||||
#include <chrono>
|
||||
#include "event/Chrono.hxx"
|
||||
|
||||
struct ConfigData;
|
||||
|
||||
struct StateFileConfig {
|
||||
static constexpr std::chrono::steady_clock::duration DEFAULT_INTERVAL = std::chrono::minutes(2);
|
||||
static constexpr Event::Duration DEFAULT_INTERVAL = std::chrono::minutes(2);
|
||||
|
||||
AllocatedPath path;
|
||||
|
||||
std::chrono::steady_clock::duration interval;
|
||||
Event::Duration interval;
|
||||
|
||||
bool restore_paused;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user