Public Member Functions | |
| ~CSysStateManagerExample () | |
| void | SSManagerL () |
| void | RequestSwpChange () |
| void | RequestSsChange () |
| void | RequestSwpChangeWithNotificationL () |
| void | RequestSsChangeWithNotification () |
| void | SwpChanged (TSsmSwp aSwp) |
Static Public Member Functions | |
|
static CSysStateManagerExample * | NewLC () |
Public Attributes | |
| CConsoleBase * | iConsole |
| RSsmStateManager | iSsmStateManager |
Definition at line 32 of file ssmanager.h.
| CSysStateManagerExample::~CSysStateManagerExample | ( | ) |
Destructor.
Definition at line 73 of file ssmanager.cpp.
| void CSysStateManagerExample::RequestSwpChange | ( | ) |
Makes a System Wide Property change request.
Example SwP is created and registered using the Normal state policy resource file (gsanormalcmdlist.rss) provided with the example.
Definition at line 91 of file ssmanager.cpp.
| void CSysStateManagerExample::RequestSsChange | ( | ) |
Makes a System State Change request.
Definition at line 109 of file ssmanager.cpp.
| void CSysStateManagerExample::RequestSwpChangeWithNotificationL | ( | ) |
Makes a System Wide Property change request, and subscribes to receive notifications of when the change is made.
CSsmSystemWideProperty is used to monitor for Swp changes. It maintains a list of subscribers for the Swp. Each of the subscribers will be notified about the change.
Definition at line 146 of file ssmanager.cpp.
| void CSysStateManagerExample::RequestSsChangeWithNotification | ( | ) |
Makes a System State change request, and subscribes to receive notifications of when the change is made.
Definition at line 190 of file ssmanager.cpp.
| void CSysStateManagerExample::SwpChanged | ( | TSsmSwp | aSwp | ) |
This API is called to notify the program about a change in a SwP value.
Definition at line 82 of file ssmanager.cpp.
1.5.3