totp_scene_generate_token.h 797 B

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