satengine/SatServer/SystemState/src/TSatSystemStateFactory.cpp
changeset 45 61f927bc9441
parent 31 a2467631ae02
equal deleted inserted replaced
39:cee7e9e0906c 45:61f927bc9441
    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 #define Q_OS_SYMBIAN // needed to activate homescreendomainpskeys.h
    20 #define Q_OS_SYMBIAN // needed to activate homescreendomainpskeys.h
    22 #include    <homescreendomainpskeys.h>
    21 #include    <homescreendomainpskeys.h>
    23 #include    <CommonEngineDomainCRKeys.h>
    22 #include    <CommonEngineDomainCRKeys.h>
    24 #include    <BTSapDomainPSKeys.h>
    23 #include    <BTSapDomainPSKeys.h>
    25 #include    <ProfileEngineSDKCRKeys.h>
    24 #include    <coreapplicationuissdkcrkeys.h>
    26 #include    "TSatSystemStateFactory.h"
    25 #include    "TSatSystemStateFactory.h"
    27 #include    "CSatSystemState.h"
    26 #include    "CSatSystemState.h"
    28 #include    "msatmultimodeapi.h"
    27 #include    "msatmultimodeapi.h"
    29 #include    "CSatPSChangeNotifier.h"
    28 #include    "CSatPSChangeNotifier.h"
    30 #include    "CSatCenRepChangeNotifier.h"
    29 #include    "CSatCenRepChangeNotifier.h"
    31 #include    "SatLog.h"
    30 #include    "SatLog.h"
    32 
       
    33 
    31 
    34 // ======== MEMBER FUNCTIONS ========
    32 // ======== MEMBER FUNCTIONS ========
    35 
    33 
    36 // -----------------------------------------------------------------------------
    34 // -----------------------------------------------------------------------------
    37 // (other items were commented in a header).
    35 // (other items were commented in a header).
   170     {
   168     {
   171     LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\
   169     LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\
   172         CreateProfileChangeNotifierL calling" )
   170         CreateProfileChangeNotifierL calling" )
   173 
   171 
   174     MSatSystemStateChangeNotifier* ret = CSatCenRepChangeNotifier::NewL(
   172     MSatSystemStateChangeNotifier* ret = CSatCenRepChangeNotifier::NewL(
   175         KCRUidProfileEngine,
   173         KCRUidCoreApplicationUIs,
   176         KProEngActiveProfile,
   174         KCoreAppUIsNetworkConnectionAllowed,
   177         aObserver,
   175         aObserver,
   178         CSatCenRepChangeNotifier::ECRTypeInteger );
   176         CSatCenRepChangeNotifier::ECRTypeInteger );
   179 
   177 
   180     LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\
   178     LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\
   181         CreateProfileChangeNotifierL exiting" )
   179         CreateProfileChangeNotifierL exiting" )