2021-08-29 13:05:15 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <gui/view.h>
|
|
|
|
|
2021-09-28 00:05:40 +00:00
|
|
|
typedef enum {
|
|
|
|
SubghzTestStaticEventOnlyRx,
|
|
|
|
} SubghzTestStaticEvent;
|
|
|
|
|
2021-08-29 13:05:15 +00:00
|
|
|
typedef struct SubghzTestStatic SubghzTestStatic;
|
|
|
|
|
2021-09-28 00:05:40 +00:00
|
|
|
typedef void (*SubghzTestStaticCallback)(SubghzTestStaticEvent event, void* context);
|
|
|
|
|
|
|
|
void subghz_test_static_set_callback(
|
|
|
|
SubghzTestStatic* subghz_test_static,
|
|
|
|
SubghzTestStaticCallback callback,
|
|
|
|
void* context);
|
|
|
|
|
2021-08-29 13:05:15 +00:00
|
|
|
SubghzTestStatic* subghz_test_static_alloc();
|
|
|
|
|
|
|
|
void subghz_test_static_free(SubghzTestStatic* subghz_static);
|
|
|
|
|
|
|
|
View* subghz_test_static_get_view(SubghzTestStatic* subghz_static);
|