ASAPCabinetFE
 
Loading...
Searching...
No Matches
dependency_factory.cpp File Reference

Implements the DependencyFactory class for creating component instances in ASAPCabinetFE. More...

#include "dependency_factory.h"
#include "app.h"
#include "config/config_service.h"
#include "window_manager.h"
#include "render/assets/asset_manager.h"
#include "render/renderer.h"
#include "sound/pulseaudio_player.h"
#include "capture/screenshot_manager.h"
#include "keybinds/keybind_manager.h"
#include "keybinds/input_manager.h"
#include "tables/asap_index_manager.h"
#include "launcher/table_launcher.h"
#include "log/logging.h"
+ Include dependency graph for dependency_factory.cpp:

Detailed Description

Implements the DependencyFactory class for creating component instances in ASAPCabinetFE.

This file provides the implementation of the DependencyFactory class, which creates instances of core components, such as WindowManager, ImGuiManager, AssetManager, and others, with their required dependencies. It is used by the App class to initialize the application. The factory methods initialize components with settings from IConfigService and other dependencies, with potential for user customization via configUI (e.g., window configurations, asset loading options, keybinds). The file includes a dummy atomic flag for loading state and commented-out asset loading logic for future expansion.