50 bool initialize(std::shared_ptr<INotificationService> notificationService);
125 std::unique_ptr<Impl> impl_;
SettingsController & settings()
Get the settings controller.
std::string getLogFilePath() const
Get log file path.
std::string getDataDirectory() const
Get application data directory.
static std::string getVersion()
Get application version string.
SteamController & steam()
Get the Steam integration controller.
LaunchController & launcher()
Get the launch controller.
static std::string getAppName()
Get application name.
bool hasBlockingProcesses() const
Check if there are running games that would block exit.
void forceExit()
Force exit without confirmation.
void update()
Process background tasks and update state UI should call this periodically (e.g., each frame or on a ...
bool initialize(std::shared_ptr< INotificationService > notificationService)
Initialize the application Must be called before using any controllers.
AppController(const AppController &)=delete
const SteamController & steam() const
const LaunchController & launcher() const
bool isInitialized() const
Check if application is initialized.
void shutdown()
Shutdown the application Saves state, stops processes, cleans up resources.
const SettingsController & settings() const
bool requestExit()
Request application exit Returns true if safe to exit, false if user should confirm (running games).
std::string getConfigDirectory() const
Get application config directory.
std::string getCacheDirectory() const
Get application cache directory.
GameLibraryController & library()
Get the game library controller.
AppController & operator=(const AppController &)=delete
const GameLibraryController & library() const