mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-21 02:03:18 +00:00
15 lines
559 B
C
15 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);
|