d635890342
* Power info command, validator fixes * strdup in validator, fix memory leak * furi_hal_crypto fixed again * FuriHal: limit ARR and CC in speaker hal * FuriHal: LL_TIM_DisableAllOutputs in speaker stop * Rpc: fix memory leak in screen streaming * Get rid of crypto_enable/crypto_disable Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
22 lines
460 B
C
22 lines
460 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 |