XDGKit v0.1.0-1
XDG Utilities for C++
|
Core class. More...
#include <XDGKit.h>
Public Member Functions | |
XDGKit () noexcept | |
Creates a new instance of XDGKit. | |
XDGIconThemeManager & | iconThemeManager () noexcept |
Provides access to functionality related to icon themes. | |
const std::filesystem::path & | homeDir () const noexcept |
Retrieves the current user's home directory as an absolute path. | |
const std::vector< std::filesystem::path > & | dataDirs () const noexcept |
Retrieves valid absolute paths found in XDG_DATA_DIRS . | |
const char * | getString (const std::string &string) const noexcept |
Retrieves the pointer of the given string in the string pool. | |
Static Public Member Functions | |
static std::shared_ptr< XDGKit > | Make () noexcept |
Creates a new instance of XDGKit. | |
Core class.
When destroyed, all references to themes and icons are invalidated.
|
staticnoexcept |
|
inlinenoexcept |
Provides access to functionality related to icon themes.
|
inlinenoexcept |
Retrieves the current user's home directory as an absolute path.
|
inlinenoexcept |
Retrieves valid absolute paths found in XDG_DATA_DIRS
.
|
inlinenoexcept |
Retrieves the pointer of the given string in the string pool.
string | String to query. |
nullptr
if not found.