20 #ifndef MPD_MIX_RAMP_INFO_HXX
21 #define MPD_MIX_RAMP_INFO_HXX
29 std::string start, end;
41 return !start.empty() || !end.empty();
46 return start.empty() ?
nullptr : start.c_str();
51 return end.empty() ?
nullptr : end.c_str();
55 if (new_value ==
nullptr)
62 start = std::move(new_value);
66 if (new_value ==
nullptr)
72 void SetEnd(std::string &&new_value) {
73 end = std::move(new_value);
void SetEnd(const char *new_value)
gcc_pure const char * GetStart() const
void SetStart(const char *new_value)
gcc_pure bool IsDefined() const
void SetStart(std::string &&new_value)
void SetEnd(std::string &&new_value)
gcc_pure const char * GetEnd() const