|
XDGKit v1.0.0-1
C++ XDG Utilities
|
Core class. More...
#include <XDGKit.h>
Classes | |
| struct | Options |
| Configuration options. More... | |
Public Member Functions | |
| XDGKit (const Options &options=Options()) noexcept | |
| Creates a new instance of XDGKit. | |
| XDGIconThemeManager & | iconThemeManager () noexcept |
| Provides access to functionality related to icon themes. | |
| const std::string & | username () const noexcept |
| Retrieves the current user's username. | |
| 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 Options & | options () const noexcept |
| Retrieves the configuration options used to create this instance. | |
Static Public Member Functions | |
| static std::shared_ptr< XDGKit > | Make (const Options &options=Options()) noexcept |
| Creates a new instance of XDGKit. | |
Core class.
When destroyed, all references to themes and icons are invalidated.
|
inlinenoexcept |
Provides access to functionality related to icon themes.
|
inlinenoexcept |
Retrieves the current user's username.
|
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 configuration options used to create this instance.