2021-08-29 16:05:15 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <gui/view.h>
|
|
|
|
|
2021-09-28 03:05:40 +03:00
|
|
|
typedef enum {
|
2022-03-03 12:48:56 +03:00
|
|
|
SubGhzTestStaticEventOnlyRx,
|
|
|
|
} SubGhzTestStaticEvent;
|
2021-09-28 03:05:40 +03:00
|
|
|
|
2022-03-03 12:48:56 +03:00
|
|
|
typedef struct SubGhzTestStatic SubGhzTestStatic;
|
2021-08-29 16:05:15 +03:00
|
|
|
|
2022-03-03 12:48:56 +03:00
|
|
|
typedef void (*SubGhzTestStaticCallback)(SubGhzTestStaticEvent event, void* context);
|
2021-09-28 03:05:40 +03:00
|
|
|
|
|
|
|
void subghz_test_static_set_callback(
|
2022-03-03 12:48:56 +03:00
|
|
|
SubGhzTestStatic* subghz_test_static,
|
|
|
|
SubGhzTestStaticCallback callback,
|
2021-09-28 03:05:40 +03:00
|
|
|
void* context);
|
|
|
|
|
2022-03-03 12:48:56 +03:00
|
|
|
SubGhzTestStatic* subghz_test_static_alloc();
|
2021-08-29 16:05:15 +03:00
|
|
|
|
2022-03-03 12:48:56 +03:00
|
|
|
void subghz_test_static_free(SubGhzTestStatic* subghz_static);
|
2021-08-29 16:05:15 +03:00
|
|
|
|
2022-03-03 12:48:56 +03:00
|
|
|
View* subghz_test_static_get_view(SubGhzTestStatic* subghz_static);
|