Ecore is aware of some system events that one may be interested, they are described below: More...
Typedefs | |
| typedef enum _Ecore_Memory_State | Ecore_Memory_State |
| typedef enum _Ecore_Power_State | Ecore_Power_State |
Enumerations | |
| enum | _Ecore_Memory_State { ECORE_MEMORY_STATE_NORMAL , ECORE_MEMORY_STATE_LOW } |
| Indicates current system memory state. More... | |
| enum | _Ecore_Power_State { ECORE_POWER_STATE_MAINS , ECORE_POWER_STATE_BATTERY , ECORE_POWER_STATE_LOW } |
| Indicates current system memory state. More... | |
Functions | |
| Ecore_Memory_State | ecore_memory_state_get (void) |
| Gets the current status of memory on the system. | |
| void | ecore_memory_state_set (Ecore_Memory_State state) |
| Sets the memory state. | |
| Ecore_Power_State | ecore_power_state_get (void) |
| Gets the current power state. | |
| void | ecore_power_state_set (Ecore_Power_State state) |
| Sets the power state. | |
Ecore is aware of some system events that one may be interested, they are described below:
| enum _Ecore_Memory_State |
Indicates current system memory state.
| enum _Ecore_Power_State |
Indicates current system memory state.
| Ecore_Memory_State ecore_memory_state_get | ( | void | ) |
Gets the current status of memory on the system.
References ecore_memory_state_get().
Referenced by ecore_memory_state_get().
| void ecore_memory_state_set | ( | Ecore_Memory_State | state | ) |
Sets the memory state.
| state | The memory state to set. |
This function will store information about the current memory state and if it changed will automatically create an ECORE_EVENT_MEMORY_STATE event.
References ecore_event_add(), ECORE_EVENT_MEMORY_STATE, and ecore_memory_state_set().
Referenced by ecore_memory_state_set().
| Ecore_Power_State ecore_power_state_get | ( | void | ) |
Gets the current power state.
References ecore_power_state_get().
Referenced by ecore_power_state_get().
| void ecore_power_state_set | ( | Ecore_Power_State | state | ) |
Sets the power state.
| state | The power state to set. |
This function will store information about the current power state and if it changed will automatically create an ECORE_EVENT_POWER_STATE event.
References ecore_event_add(), ECORE_EVENT_POWER_STATE, and ecore_power_state_set().
Referenced by ecore_power_state_set().