2022-01-21 16:55:09 +03:00
|
|
|
#pragma once
|
|
|
|
|
2022-08-03 18:47:10 +03:00
|
|
|
#include <core/common_defines.h>
|
2022-01-21 16:55:09 +03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
typedef struct ValidatorIsFile ValidatorIsFile;
|
|
|
|
|
2022-04-07 18:00:45 +03:00
|
|
|
ValidatorIsFile* validator_is_file_alloc_init(
|
|
|
|
const char* app_path_folder,
|
|
|
|
const char* app_extension,
|
|
|
|
const char* current_name);
|
2022-01-21 16:55:09 +03:00
|
|
|
|
|
|
|
void validator_is_file_free(ValidatorIsFile* instance);
|
|
|
|
|
2022-10-05 18:15:23 +03:00
|
|
|
bool validator_is_file_callback(const char* text, FuriString* error, void* context);
|
2022-01-21 16:55:09 +03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2022-05-06 16:37:10 +03:00
|
|
|
#endif
|