action.h 295 B

12345678910111213
  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);