diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/ssmanager_8h-source.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/ssmanager_8h-source.html Tue Mar 30 11:56:28 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ - -
-00001 // -00002 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -00003 // All rights reserved. -00004 // This component and the accompanying materials are made available -00005 // under the terms of "Eclipse Public License v1.0" -00006 // which accompanies this distribution, and is available -00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html". -00008 // -00009 // Initial Contributors: -00010 // Nokia Corporation - initial contribution. -00011 // -00012 // Contributors: -00013 // -00014 // Description: -00015 // This example is used to demonstrate the utilities of the System State Manager -00016 // framework. -00017 -00018 #ifndef __SSMANAGER_H__ -00019 #define __SSMANAGER_H__ -00020 -00021 #include <e32cons.h> -00022 #include <ssm/ssmcommandlist.h> -00023 #include <ssm/ssmstatemanager.h> -00024 #include <ssm/ssmsystemwideproperty.h> -00025 -00032 class CSysStateManagerExample : public CBase, public MSwpChangeNotificationSubscriber -00033 { -00034 public: -00035 static CSysStateManagerExample* NewLC(); -00036 ~CSysStateManagerExample(); -00037 void SSManagerL(); -00038 void RequestSwpChange(); -00039 void RequestSsChange(); -00040 void RequestSwpChangeWithNotificationL(); -00041 void RequestSsChangeWithNotification(); -00042 -00043 //from MSwpChangeNotificationSubscriber -00044 void SwpChanged(TSsmSwp aSwp); -00045 private: -00046 CSysStateManagerExample(); -00047 public: -00048 CConsoleBase* iConsole; -00049 RSsmStateManager iSsmStateManager; -00050 }; -00051 -00052 #endif //__SSMANAGER_H__ -