mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-30 16:29:12 +00:00
14 lines
559 B
C
14 lines
559 B
C
#pragma once
|
|
|
|
#include "infrared_signal.h"
|
|
|
|
typedef struct InfraredRemoteButton InfraredRemoteButton;
|
|
|
|
InfraredRemoteButton* infrared_remote_button_alloc();
|
|
void infrared_remote_button_free(InfraredRemoteButton* button);
|
|
|
|
void infrared_remote_button_set_name(InfraredRemoteButton* button, const char* name);
|
|
const char* infrared_remote_button_get_name(InfraredRemoteButton* button);
|
|
|
|
void infrared_remote_button_set_signal(InfraredRemoteButton* button, InfraredSignal* signal);
|
|
InfraredSignal* infrared_remote_button_get_signal(InfraredRemoteButton* button);
|