config.h 670 B

1234567891011121314151617
  1. #pragma once
  2. #include <flipper_format/flipper_format.h>
  3. #include <furi.h>
  4. #include "../../types/plugin_state.h"
  5. #include "../../types/token_info.h"
  6. #include "constants.h"
  7. Storage* totp_open_storage();
  8. void totp_close_storage();
  9. FlipperFormat* totp_open_config_file(Storage* storage);
  10. void totp_close_config_file(FlipperFormat* file);
  11. void totp_full_save_config_file(PluginState* const plugin_state);
  12. void totp_config_file_load_base(PluginState* const plugin_state);
  13. void totp_config_file_load_tokens(PluginState* const plugin_state);
  14. void totp_config_file_save_new_token(TokenInfo* token_info);
  15. void totp_config_file_update_timezone_offset(float new_timezone_offset);