2021-08-29 16:05:15 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <gui/view.h>
|
|
|
|
|
2021-09-28 03:05:40 +03:00
|
|
|
typedef enum {
|
|
|
|
SubghzTestStaticEventOnlyRx,
|
|
|
|
} SubghzTestStaticEvent;
|
|
|
|
|
2021-08-29 16:05:15 +03:00
|
|
|
typedef struct SubghzTestStatic SubghzTestStatic;
|
|
|
|
|
2021-09-28 03:05:40 +03: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 16:05:15 +03:00
|
|
|
SubghzTestStatic* subghz_test_static_alloc();
|
|
|
|
|
|
|
|
void subghz_test_static_free(SubghzTestStatic* subghz_static);
|
|
|
|
|
|
|
|
View* subghz_test_static_get_view(SubghzTestStatic* subghz_static);
|