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