totp_scene_generate_token.h 762 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <gui/gui.h>
  3. #include <furi.h>
  4. #include <furi_hal.h>
  5. #include "../../types/plugin_state.h"
  6. #include "../../types/plugin_event.h"
  7. typedef struct {
  8. uint8_t current_token_index;
  9. } GenerateTokenSceneContext;
  10. void totp_scene_generate_token_init(const PluginState* plugin_state);
  11. void totp_scene_generate_token_activate(
  12. PluginState* plugin_state,
  13. const GenerateTokenSceneContext* context);
  14. void totp_scene_generate_token_render(Canvas* const canvas, PluginState* plugin_state);
  15. bool totp_scene_generate_token_handle_event(
  16. const PluginEvent* const event,
  17. PluginState* plugin_state);
  18. void totp_scene_generate_token_deactivate(PluginState* plugin_state);
  19. void totp_scene_generate_token_free(const PluginState* plugin_state);