MostlyHarmless 0.0.1
 
Loading...
Searching...
No Matches
mostlyharmless_Directories.h
Go to the documentation of this file.
1//
2// Created by Syl Morrison on 15/12/2024.
3//
4
5#ifndef NIGHTSHELL_MOSTLYHARMLESS_DIRECTORIES_H
6#define NIGHTSHELL_MOSTLYHARMLESS_DIRECTORIES_H
7
8#include <filesystem>
9#include <optional>
10
33
39 [[nodiscard]] std::optional<std::filesystem::path> getDirectory(DirectoryType type);
40} // namespace mostly_harmless::utils::directories
41
42#endif // NIGHTSHELL_MOSTLYHARMLESS_DIRECTORIES_H
Definition mostlyharmless_Directories.h:11
DirectoryType
Represents a "special location type" on the user's system.
Definition mostlyharmless_Directories.h:15
@ Desktop
Definition mostlyharmless_Directories.h:19
@ Temp
Definition mostlyharmless_Directories.h:31
@ UserAppData
Definition mostlyharmless_Directories.h:27
@ Documents
Definition mostlyharmless_Directories.h:23
std::optional< std::filesystem::path > getDirectory(DirectoryType type)