flipperzero-firmware/applications/subghz/views/subghz_test_carrier.h

23 lines
596 B
C
Raw Normal View History

2021-08-12 14:42:56 +00:00
#pragma once
#include <gui/view.h>
typedef enum {
SubghzTestCarrierEventOnlyRx,
} SubghzTestCarrierEvent;
2021-08-12 14:42:56 +00:00
typedef struct SubghzTestCarrier SubghzTestCarrier;
typedef void (*SubghzTestCarrierCallback)(SubghzTestCarrierEvent event, void* context);
void subghz_test_carrier_set_callback(
SubghzTestCarrier* subghz_test_carrier,
SubghzTestCarrierCallback callback,
void* context);
2021-08-12 14:42:56 +00:00
SubghzTestCarrier* subghz_test_carrier_alloc();
void subghz_test_carrier_free(SubghzTestCarrier* subghz_test_carrier);
View* subghz_test_carrier_get_view(SubghzTestCarrier* subghz_test_carrier);