#include <libosso.h>
Data Fields | |
gboolean | shutdown_ind |
gboolean | save_unsaved_data_ind |
gboolean | memory_low_ind |
gboolean | system_inactivity_ind |
osso_devmode_t | sig_device_mode_ind |
This structure represents the device state. NOTE: Libosso sets value of save_unsaved_data_ind to 1 when the signal arrived and back to 0 after calling the application callback.
gboolean osso_hw_state_t::memory_low_ind |
The system is low on memory
The application should save unsaved user data (see Autosaving functions)
gboolean osso_hw_state_t::shutdown_ind |
The device is about to be shut down
The mode of the device
The application should reduce its activity. This also means that the display went off/on.