HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
path_location.hpp File Reference

functions to locate files and directories. More...

#include "../generator.hpp"
#include "../exception.hpp"
#include <filesystem>
#include <ranges>

Go to the source code of this file.

Namespaces

namespace  hi
 geometry/margins.hpp
 
namespace  hi::v1
 The HikoGUI API version 1.
 

Enumerations

enum class  hi::v1::path_location {
  hi::v1::path_location::resource_dirs , hi::v1::path_location::executable_file , hi::v1::path_location::executable_dir , hi::v1::path_location::library_file ,
  hi::v1::path_location::library_dir , hi::v1::path_location::data_dir , hi::v1::path_location::log_dir , hi::v1::path_location::preferences_file ,
  hi::v1::path_location::system_font_dirs , hi::v1::path_location::font_dirs , hi::v1::path_location::theme_dirs
}
 File and Directory locations. More...
 

Functions

generator< std::filesystem::path > hi::v1::get_paths (path_location location)
 Get a set of paths.
 
std::optional< std::filesystem::path > hi::v1::find_path (path_location location, std::filesystem::path const &ref) noexcept
 Find a path.
 
std::filesystem::path hi::v1::get_path (path_location location)
 Get the single and only path.
 

Detailed Description

functions to locate files and directories.