totp_scene_generate_token.h 726 B

123456789101112131415161718
  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(PluginState* plugin_state);
  11. void totp_scene_generate_token_activate(PluginState* plugin_state, const GenerateTokenSceneContext* context);
  12. void totp_scene_generate_token_render(Canvas* const canvas, PluginState* plugin_state);
  13. bool totp_scene_generate_token_handle_event(PluginEvent* const event, PluginState* plugin_state);
  14. void totp_scene_generate_token_deactivate(PluginState* plugin_state);
  15. void totp_scene_generate_token_free(PluginState* plugin_state);