mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-30 21:25:32 -05:00
Move GetShortDesc() and GetId() to MacroSegment class
This commit is contained in:
@@ -395,6 +395,11 @@ bool MacroSegment::Load(obs_data_t *obj)
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string MacroSegment::GetShortDesc()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
bool MacroCondition::Save(obs_data_t *obj)
|
||||
{
|
||||
MacroSegment::Save(obj);
|
||||
@@ -412,11 +417,6 @@ bool MacroCondition::Load(obs_data_t *obj)
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string MacroCondition::GetShortDesc()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
void MacroCondition::SetDurationConstraint(const DurationConstraint &dur)
|
||||
{
|
||||
_duration = dur;
|
||||
@@ -450,11 +450,6 @@ bool MacroAction::Load(obs_data_t *obj)
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string MacroAction::GetShortDesc()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
void MacroAction::LogAction()
|
||||
{
|
||||
vblog(LOG_INFO, "performed action %s", GetId().c_str());
|
||||
|
||||
Reference in New Issue
Block a user