event/{Coarse,Fine,Far}TimerEvent: aliases for TimerEvent
Preparing for a variant of TimerEvent with coarse 1-second granularity, but cheaper (with a timer wheel).
This commit is contained in:
committed by
Max Kellermann
parent
e802f1f61a
commit
def962b6cb
@@ -21,7 +21,7 @@
|
||||
#define MPD_STATE_FILE_HXX
|
||||
|
||||
#include "StateFileConfig.hxx"
|
||||
#include "event/TimerEvent.hxx"
|
||||
#include "event/FarTimerEvent.hxx"
|
||||
#include "util/Compiler.h"
|
||||
#include "config.h"
|
||||
|
||||
@@ -36,7 +36,7 @@ class StateFile final {
|
||||
|
||||
const std::string path_utf8;
|
||||
|
||||
TimerEvent timer_event;
|
||||
FarTimerEvent timer_event;
|
||||
|
||||
Partition &partition;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user