common_dialogs.h 655 B

123456789101112131415161718
  1. #pragma once
  2. #include <dialogs/dialogs.h>
  3. #include "../types/plugin_state.h"
  4. /**
  5. * @brief Shows standard dialog about the fact that error occurred when loading config file
  6. * @param plugin_state application state
  7. * @return dialog button which user pressed to close the dialog
  8. */
  9. DialogMessageButton totp_dialogs_config_loading_error(PluginState* plugin_state);
  10. /**
  11. * @brief Shows standard dialog about the fact that error occurred when updating config file
  12. * @param plugin_state application state
  13. * @return dialog button which user pressed to close the dialog
  14. */
  15. DialogMessageButton totp_dialogs_config_updating_error(PluginState* plugin_state);