infrared_remote_button.h 882 B

12345678910111213141516171819202122232425
  1. /*
  2. This file was taken from the project:
  3. https://github.com/DarkFlippers/unleashed-firmware
  4. The original project is licensed under the GNU GPLv3
  5. Modifications made:
  6. - Added function infrared_remote_button_get_furi_name()
  7. */
  8. #pragma once
  9. #include "infrared_signal.h"
  10. typedef struct InfraredRemoteButton InfraredRemoteButton;
  11. InfraredRemoteButton* infrared_remote_button_alloc();
  12. void infrared_remote_button_free(InfraredRemoteButton* button);
  13. void infrared_remote_button_set_name(InfraredRemoteButton* button, const char* name);
  14. const char* infrared_remote_button_get_name(InfraredRemoteButton* button);
  15. FuriString* infrared_remote_button_get_furi_name(InfraredRemoteButton* button);
  16. void infrared_remote_button_set_signal(InfraredRemoteButton* button, InfraredSignal* signal);
  17. InfraredSignal* infrared_remote_button_get_signal(InfraredRemoteButton* button);