13 * |
13 * |
14 * Description: Provides SAT SystemState objects outside of this DLL |
14 * Description: Provides SAT SystemState objects outside of this DLL |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
|
19 #include <startupdomainpskeys.h> |
18 #include <startupdomainpskeys.h> |
20 #include <PSVariables.h> |
19 #include <PSVariables.h> |
21 #include <activeidle2domainpskeys.h> |
20 #define Q_OS_SYMBIAN // needed to activate homescreendomainpskeys.h |
|
21 #include <homescreendomainpskeys.h> |
22 #include <CommonEngineDomainCRKeys.h> |
22 #include <CommonEngineDomainCRKeys.h> |
23 #include <BTSapDomainPSKeys.h> |
23 #include <BTSapDomainPSKeys.h> |
24 #include <ProfileEngineSDKCRKeys.h> |
24 #include <coreapplicationuissdkcrkeys.h> |
25 #include "TSatSystemStateFactory.h" |
25 #include "TSatSystemStateFactory.h" |
26 #include "CSatSystemState.h" |
26 #include "CSatSystemState.h" |
27 #include "msatmultimodeapi.h" |
27 #include "msatmultimodeapi.h" |
28 #include "CSatPSChangeNotifier.h" |
28 #include "CSatPSChangeNotifier.h" |
29 #include "CSatCenRepChangeNotifier.h" |
29 #include "CSatCenRepChangeNotifier.h" |
30 #include "SatLog.h" |
30 #include "SatLog.h" |
31 |
|
32 |
31 |
33 // ======== MEMBER FUNCTIONS ======== |
32 // ======== MEMBER FUNCTIONS ======== |
34 |
33 |
35 // ----------------------------------------------------------------------------- |
34 // ----------------------------------------------------------------------------- |
36 // (other items were commented in a header). |
35 // (other items were commented in a header). |
59 { |
58 { |
60 LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\ |
59 LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\ |
61 CreateIdleModeChangeNotifierL calling" ) |
60 CreateIdleModeChangeNotifierL calling" ) |
62 |
61 |
63 MSatSystemStateChangeNotifier* ret = CSatPSChangeNotifier::NewL( |
62 MSatSystemStateChangeNotifier* ret = CSatPSChangeNotifier::NewL( |
64 KPSUidAiInformation, |
63 KHsCategoryUid, |
65 KActiveIdleState, |
64 KHsCategoryStateKey, |
66 aObserver, |
65 aObserver, |
67 EPSAiForeground ); |
66 EHomeScreenIdleState ); |
68 |
67 |
69 LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\ |
68 LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\ |
70 CreateIdleModeChangeNotifierL exiting" ) |
69 CreateIdleModeChangeNotifierL exiting" ) |
71 return ret; |
70 return ret; |
72 } |
71 } |
169 { |
168 { |
170 LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\ |
169 LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\ |
171 CreateProfileChangeNotifierL calling" ) |
170 CreateProfileChangeNotifierL calling" ) |
172 |
171 |
173 MSatSystemStateChangeNotifier* ret = CSatCenRepChangeNotifier::NewL( |
172 MSatSystemStateChangeNotifier* ret = CSatCenRepChangeNotifier::NewL( |
174 KCRUidProfileEngine, |
173 KCRUidCoreApplicationUIs, |
175 KProEngActiveProfile, |
174 KCoreAppUIsNetworkConnectionAllowed, |
176 aObserver, |
175 aObserver, |
177 CSatCenRepChangeNotifier::ECRTypeInteger ); |
176 CSatCenRepChangeNotifier::ECRTypeInteger ); |
178 |
177 |
179 LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\ |
178 LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\ |
180 CreateProfileChangeNotifierL exiting" ) |
179 CreateProfileChangeNotifierL exiting" ) |