mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-07 17:16:00 -05:00
Add const qualifier to various functions
This commit is contained in:
@@ -24,13 +24,13 @@ bool MacroActionSceneCollection::PerformAction()
|
||||
return false;
|
||||
}
|
||||
|
||||
void MacroActionSceneCollection::LogAction()
|
||||
void MacroActionSceneCollection::LogAction() const
|
||||
{
|
||||
vblog(LOG_INFO, "set scene collection type to \"%s\"",
|
||||
_sceneCollection.c_str());
|
||||
}
|
||||
|
||||
bool MacroActionSceneCollection::Save(obs_data_t *obj)
|
||||
bool MacroActionSceneCollection::Save(obs_data_t *obj) const
|
||||
{
|
||||
MacroAction::Save(obj);
|
||||
obs_data_set_string(obj, "sceneCollection", _sceneCollection.c_str());
|
||||
@@ -44,7 +44,7 @@ bool MacroActionSceneCollection::Load(obs_data_t *obj)
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string MacroActionSceneCollection::GetShortDesc()
|
||||
std::string MacroActionSceneCollection::GetShortDesc() const
|
||||
{
|
||||
return _sceneCollection;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user