| 37 | } |
| 38 | |
| 39 | static void importSettings(const std::string &path) |
| 40 | { |
| 41 | if (SettingsWindowIsOpened()) { |
| 42 | return; |
| 43 | } |
| 44 | OBSDataAutoRelease obj = obs_data_create_from_json_file(path.c_str()); |
| 45 | if (!obj) { |
| 46 | return; |
| 47 | } |
| 48 | LoadPluginSettings(obj); |
| 49 | } |
| 50 | |
| 51 | static void setNoMatchBehaviour(int value, OBSWeakSource &scene) |
| 52 | { |
no test coverage detected