Entry point for ASAPCabinetFE. More...
#include "version.h"#include "core/app.h"#include "core/first_run.h"#include "editor/editor.h"#include <curl/curl.h>#include "log/logging.h"#include "log/logger.h"#include <SDL2/SDL.h>#include <SDL2/SDL_ttf.h>#include <SDL2/SDL_image.h>#include <iostream>#include <string>#include <filesystem>
Include dependency graph for main.cpp:Classes | |
| struct | SDLBootstrap |
| RAII struct for initializing and cleaning up SDL subsystems. More... | |
Functions | |
| int | main (int argc, char *argv[]) |
| Main entry point for ASAPCabinetFE. | |
Entry point for ASAPCabinetFE.
This file contains the main entry point for the ASAPCabinetFE application. It initializes SDL subsystems, handles command-line arguments, and launches the App class to run the frontend. The SDLBootstrap struct manages SDL initialization and cleanup using RAII principles.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Main entry point for ASAPCabinetFE.
Handles command-line arguments to display version information or launch the application. Initializes SDL subsystems via SDLBootstrap, creates an App instance with the configuration file path, and runs the application.
| argc | Number of command-line arguments. |
| argv | Array of command-line argument strings. |
Here is the call graph for this function: