Declares the runInitialConfig function for initial configuration in ASAPCabinetFE. More...
#include "config/iconfig_service.h"
#include "config/ui/config_ui.h"
#include "ui/imgui_manager.h"
#include <SDL2/SDL.h>
Go to the source code of this file.
Functions | |
bool | runInitialConfig (IConfigService *configService, IKeybindProvider *keybindProvider, const std::string &configPath) |
Executes the initial configuration setup. | |
Declares the runInitialConfig function for initial configuration in ASAPCabinetFE.
This header provides the runInitialConfig function, which executes the initial configuration setup using a configuration service and a specified configuration file path. It integrates with ImGuiManager and ConfigUI to render the configuration UI during the first run of the application.
bool runInitialConfig | ( | IConfigService * | configService, |
IKeybindProvider * | keybindProvider, | ||
const std::string & | configPath | ||
) |
Executes the initial configuration setup.
This function initializes and runs the configuration UI using the provided configuration service and configuration file path. It sets up an SDL window and renderer, uses ImGuiManager for ImGui rendering, and applies settings via ConfigUI.
configService | The configuration service for managing settings. |
configPath | The file path to the configuration file. |