xremote_cross_remote_item.h 1.2 KB

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include "../infrared/xremote_ir_signal.h"
  3. #include "../subghz/xremote_sg_remote.h"
  4. #include "../../xremote_i.h"
  5. bool xremote_cross_remote_item_read(CrossRemoteItem* item, FlipperFormat* ff);
  6. CrossRemoteItem* xremote_cross_remote_item_alloc();
  7. void xremote_cross_remote_item_free(CrossRemoteItem* item);
  8. void xremote_cross_remote_item_set_name(CrossRemoteItem* item, const char* name);
  9. const char* xremote_cross_remote_item_get_name(CrossRemoteItem* item);
  10. void xremote_cross_remote_item_set_type(CrossRemoteItem* item, int type);
  11. void xremote_cross_remote_item_set_time(CrossRemoteItem* item, int32_t time);
  12. InfraredSignal* xremote_cross_remote_item_get_ir_signal(CrossRemoteItem* item);
  13. void xremote_cross_remote_item_set_ir_signal(CrossRemoteItem* item, InfraredSignal* signal);
  14. SubGhzRemote* xremote_cross_remote_item_get_sg_signal(CrossRemoteItem* item);
  15. void xremote_cross_remote_item_set_sg_signal(CrossRemoteItem* item, SubGhzRemote* subghz);
  16. bool xremote_cross_remote_item_pause_save(FlipperFormat* ff, int32_t time, const char* name);
  17. bool xremote_cross_remote_item_ir_signal_save(InfraredSignal* signal, FlipperFormat* ff, const char* name);
  18. bool xremote_cross_remote_item_sg_signal_save(SubGhzRemote* remote, FlipperFormat* ff, const char* name);