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 |
CSysStateManagerExample demonstrates the various utilities of the System State Manager. 1 - Requesting a change in a System Wide Property (SwP) or in System State (SS), 2 - Notifying the client about a change in a System Wide Property (SwP) or in System State (SS)
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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.