mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-25 06:13:14 +03:00
22 lines
450 B
C
22 lines
450 B
C
|
#pragma once
|
||
|
|
||
|
#include <core/common_defines.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
typedef struct ValidatorIsFile ValidatorIsFile;
|
||
|
|
||
|
ValidatorIsFile* validator_is_file_alloc_init(
|
||
|
const char* app_path_folder,
|
||
|
const char* app_extension,
|
||
|
const char* current_name);
|
||
|
|
||
|
void validator_is_file_free(ValidatorIsFile* instance);
|
||
|
|
||
|
bool validator_is_file_callback(const char* text, FuriString* error, void* context);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|