4d6b170769
* Fixing compiler warnings with -Wextra * More warnings suppression, WIP * Even more warning fixes * Added new lines at end of text files. * Padding fix * Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline * Fixes for Secplus v1 * -additional warnings * +-Wredundant-decls fixes * FuriHal: print stack overflow task name in console * FuriHal: add missing include Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
23 lines
461 B
C
23 lines
461 B
C
#pragma once
|
|
|
|
// #include <gui/view.h>
|
|
#include <m-string.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, string_t error, void* context);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|