|
FlatImage
A configurable Linux containerization system
|
Desktop integration data storage in reserved space. More...
Functions | |
| Value< void > | write (fs::path const &path_file_binary, std::string_view const &json) |
| Writes the desktop json string to the target binary. | |
| Value< std::string > | read (fs::path const &path_file_binary) |
| Reads the desktop json string from the target binary. | |
Desktop integration data storage in reserved space.
This namespace manages desktop integration configuration stored as a JSON string in the binary's reserved space. It stores data for generating .desktop files, including application name, categories, MIME types, and other XDG desktop entry metadata used for system integration.
|
inline |
Reads the desktop json string from the target binary.
| path_file_binary | Target binary to write the json string |
Definition at line 64 of file desktop.hpp.
|
inline |
Writes the desktop json string to the target binary.
| path_file_binary | Target binary to write the json string |
| json | Json string to write to the target file as binary data |
Definition at line 44 of file desktop.hpp.