infrared_remote_button.h 763 B

12345678910111213141516171819202122
  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. No modifications were made to this file.
  6. */
  7. #pragma once
  8. #include "infrared_signal.h"
  9. typedef struct InfraredRemoteButton InfraredRemoteButton;
  10. InfraredRemoteButton* infrared_remote_button_alloc();
  11. void infrared_remote_button_free(InfraredRemoteButton* button);
  12. void infrared_remote_button_set_name(InfraredRemoteButton* button, const char* name);
  13. const char* infrared_remote_button_get_name(InfraredRemoteButton* button);
  14. void infrared_remote_button_set_signal(InfraredRemoteButton* button, InfraredSignal* signal);
  15. InfraredSignal* infrared_remote_button_get_signal(InfraredRemoteButton* button);