action.h 374 B

123456789101112131415
  1. #pragma once
  2. #define EMPTY_ACTION_INDEX -1
  3. struct Item;
  4. /** Transmits the selected item
  5. *
  6. * @param context The App
  7. * @param item Selected item to transmit
  8. * @param error Error message if unsuccessful
  9. */
  10. void action_tx(void* context, Item* item, FuriString* error);
  11. bool action_ir_list_commands(const FuriString* ir_file, FuriString* command);