satengine/SatServer/SystemState/src/TSatSystemStateFactory.cpp
changeset 31 a2467631ae02
parent 0 ff3b6d0fd310
child 45 61f927bc9441
equal deleted inserted replaced
27:7eb70891911c 31:a2467631ae02
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 #include    <startupdomainpskeys.h>
    19 #include    <startupdomainpskeys.h>
    20 #include    <PSVariables.h>
    20 #include    <PSVariables.h>
    21 #include    <activeidle2domainpskeys.h>
    21 #define Q_OS_SYMBIAN // needed to activate homescreendomainpskeys.h
       
    22 #include    <homescreendomainpskeys.h>
    22 #include    <CommonEngineDomainCRKeys.h>
    23 #include    <CommonEngineDomainCRKeys.h>
    23 #include    <BTSapDomainPSKeys.h>
    24 #include    <BTSapDomainPSKeys.h>
    24 #include    <ProfileEngineSDKCRKeys.h>
    25 #include    <ProfileEngineSDKCRKeys.h>
    25 #include    "TSatSystemStateFactory.h"
    26 #include    "TSatSystemStateFactory.h"
    26 #include    "CSatSystemState.h"
    27 #include    "CSatSystemState.h"
    59     {
    60     {
    60     LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\
    61     LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\
    61         CreateIdleModeChangeNotifierL calling" )
    62         CreateIdleModeChangeNotifierL calling" )
    62 
    63 
    63     MSatSystemStateChangeNotifier* ret = CSatPSChangeNotifier::NewL(
    64     MSatSystemStateChangeNotifier* ret = CSatPSChangeNotifier::NewL(
    64         KPSUidAiInformation,
    65         KHsCategoryUid,
    65         KActiveIdleState,
    66         KHsCategoryStateKey,
    66         aObserver,
    67         aObserver,
    67         EPSAiForeground );
    68         EHomeScreenIdleState );
    68 
    69 
    69     LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\
    70     LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\
    70         CreateIdleModeChangeNotifierL exiting" )
    71         CreateIdleModeChangeNotifierL exiting" )
    71     return ret;
    72     return ret;
    72     }
    73     }