MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / VersionChanged

Method VersionChanged

lib/switcher-data.cpp:150–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150bool SwitcherData::VersionChanged(obs_data_t *obj, std::string currentVersion)
151{
152 if (!obs_data_has_user_value(obj, "version")) {
153 return false;
154 }
155
156 std::string previousVersion = obs_data_get_string(obj, "version");
157 return previousVersion != currentVersion;
158}
159
160void SwitcherData::SaveVersion(obs_data_t *obj,
161 const std::string &currentVersion)

Callers 1

SaveSceneSwitcherFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected