Player12
An open source football management simulator
Loading...
Searching...
No Matches
runtime_paths.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2// Football Management Project
3// Copyright (c) 2025 - 2026 Flavio Milinanni. All Rights Reserved.
4//
5// This file is part of the Football Management Project.
6// See the LICENSE file in the project root.
7// -----------------------------------------------------------------------------
8
9#pragma once
10
11#include <filesystem>
12
15{
16 public:
23 static std::filesystem::path root();
24 static std::filesystem::path saveDirectory();
25 static std::filesystem::path savePath(int slot);
26 static std::filesystem::path settingsPath();
27 static std::filesystem::path logPath();
29 static std::filesystem::path previousLogPath();
30 static std::filesystem::path capturePath(const char* filename);
31 static std::filesystem::path imguiIniPath();
32
40 static const std::filesystem::path& assetRoot();
41
44 static void removeSave(int slot);
45 static void removeAllSaves();
46};
Definition runtime_paths.h:15
static std::filesystem::path root()
Definition runtime_paths.cpp:126
static std::filesystem::path settingsPath()
Definition runtime_paths.cpp:171
static std::filesystem::path capturePath(const char *filename)
Definition runtime_paths.cpp:186
static std::filesystem::path logPath()
Definition runtime_paths.cpp:176
static void removeSave(int slot)
Definition runtime_paths.cpp:240
static std::filesystem::path saveDirectory()
Definition runtime_paths.cpp:160
static std::filesystem::path savePath(int slot)
Definition runtime_paths.cpp:165
static const std::filesystem::path & assetRoot()
Definition runtime_paths.cpp:234
static void removeAllSaves()
Definition runtime_paths.cpp:242
static std::filesystem::path imguiIniPath()
Definition runtime_paths.cpp:191
static std::filesystem::path previousLogPath()
Definition runtime_paths.cpp:181