#include <PowerLossBusinessLogic.h>
| Enumerator |
|---|
| PowerLossActionDoNothing |
|
| PowerLossActionShowCancellableNotification |
|
| PowerLossActionShowShutdownNotification |
|
| PowerLossActionShutdown |
|
| PowerLossActionPowerRestored |
|
| PowerLossActionFirstPowerLossOccurence |
|
| PowerLossBusinessLogic::PowerLossBusinessLogic |
( |
| ) |
|
| PowerLossBusinessLogic::~PowerLossBusinessLogic |
( |
| ) |
|
|
virtual |
| PowerLossBusinessLogic::PowerLossActions PowerLossBusinessLogic::AnalyzePowerState |
( |
| ) |
|
AnalyzePowerState - checks power state from system business logic and returns appropriate action from enum.
- Returns
- power loss action, which should be executed by application state
| void PowerLossBusinessLogic::PowerLossPopupStateChanged |
( |
const bool |
isPopupShown, |
|
|
const bool |
cancellablePopup = true |
|
) |
| |
PowerLossPopupStateChanged - application state should notify this BL about showing/hiding popup message.
- Parameters
-
| isPopupShown | |
| cancellablePopup | |
The documentation for this class was generated from the following files: