|
FlatImage
A configurable Linux containerization system
|
Desktop notification flag management in reserved space. More...
Functions | |
| Value< void > | write (fs::path const &path_file_binary, uint8_t is_notify) |
| Writes a notification flag to the flatimage binary. | |
| Value< uint8_t > | read (fs::path const &path_file_binary) |
| Read a notification flag from the flatimage binary. | |
Desktop notification flag management in reserved space.
This namespace manages a single-byte flag in the binary's reserved space that controls whether desktop notifications are enabled for the FlatImage application. The flag determines if the application can display notifications to the user through the desktop environment's notification system.
|
inline |
Read a notification flag from the flatimage binary.
| path_file_binary | Path to the flatimage binary |
Definition at line 59 of file notify.hpp.
|
inline |
Writes a notification flag to the flatimage binary.
| path_file_binary | Path to the flatimage binary |
| is_notify | Whether notifications should be enabled or not |
Definition at line 44 of file notify.hpp.