| 197 | } |
| 198 | |
| 199 | static int do_find_default(hb_value_t *preset, preset_do_context_t *ctx) |
| 200 | { |
| 201 | if (!hb_value_get_bool(hb_dict_get(preset, "Folder")) && |
| 202 | hb_value_get_bool(hb_dict_get(preset, "Default"))) |
| 203 | { |
| 204 | return PRESET_DO_SUCCESS; |
| 205 | } |
| 206 | return PRESET_DO_NEXT; |
| 207 | } |
| 208 | |
| 209 | static int presets_do(preset_do_f do_func, hb_value_t *preset, |
| 210 | preset_do_context_t *ctx) |
nothing calls this directly
no test coverage detected