phoneapp/phoneuiutils/src/cphonecenrepproxy.cpp
branchRCL_3
changeset 62 5266b1f337bd
parent 61 41a7f70b3818
equal deleted inserted replaced
61:41a7f70b3818 62:5266b1f337bd
    26 #include    <accessoriescrkeys.h>
    26 #include    <accessoriescrkeys.h>
    27 #include    <settingsinternalcrkeys.h>
    27 #include    <settingsinternalcrkeys.h>
    28 #include    <UiklafInternalCRKeys.h>
    28 #include    <UiklafInternalCRKeys.h>
    29 #include    <ProfileEngineDomainCRKeys.h>
    29 #include    <ProfileEngineDomainCRKeys.h>
    30 #include    <DRMHelperServerInternalCRKeys.h>
    30 #include    <DRMHelperServerInternalCRKeys.h>
       
    31 #include    <AknFepInternalCRKeys.h>
    31 #include    <AvkonInternalCRKeys.h>
    32 #include    <AvkonInternalCRKeys.h>
    32 #include    <btengdomaincrkeys.h> 
    33 #include    <btengdomaincrkeys.h> 
    33 #include    <utf.h>
    34 #include    <utf.h>
    34 
    35 
    35 #include    "phoneui.pan"
    36 #include    "phoneui.pan"
   143     iTelephonyVariantReadOnlyValues = KPhoneVariantReadOnlyDefaultValue;
   144     iTelephonyVariantReadOnlyValues = KPhoneVariantReadOnlyDefaultValue;
   144     iPhoneUIVariantReadOnlyValues = KPhoneVariantReadOnlyDefaultValue;
   145     iPhoneUIVariantReadOnlyValues = KPhoneVariantReadOnlyDefaultValue;
   145     
   146     
   146     User::LeaveIfError( GetTelephonyVariantData() );
   147     User::LeaveIfError( GetTelephonyVariantData() );
   147     User::LeaveIfError( GetPhoneUIVariantData() );
   148     User::LeaveIfError( GetPhoneUIVariantData() );
       
   149 
       
   150     iCenRepAccessoryEventHandler = CPhoneCenRepEventHandler::NewL( 
       
   151         KCRUidAccessorySettings );
       
   152     iCenRepNetworkEventHandler = CPhoneCenRepEventHandler::NewL( 
       
   153         KCRUidNetworkSettings );
       
   154     iCenRepThemesEventHandler = CPhoneCenRepEventHandler::NewL( 
       
   155         KCRUidThemes );
       
   156     iCenRepLanguageEventHandler = CPhoneCenRepEventHandler::NewL( 
       
   157         KCRUidAknFep );
       
   158     iCenRepQwertyEventHandler = CPhoneCenRepEventHandler::NewL( 
       
   159         KCRUidAvkon );
       
   160     iCenRepKDRMHelperEventHandler = CPhoneCenRepEventHandler::NewL( 
       
   161         KCRUidDRMHelperServer );
   148     }
   162     }
   149 
   163 
   150 // ---------------------------------------------------------
   164 // ---------------------------------------------------------
   151 // CPhoneCenRepProxy::HandleNotifyL
   165 // CPhoneCenRepProxy::HandleNotifyL
   152 // ---------------------------------------------------------
   166 // ---------------------------------------------------------
   415 void CPhoneCenRepProxy::CancelAllNotifies()
   429 void CPhoneCenRepProxy::CancelAllNotifies()
   416     {
   430     {
   417     const TInt count = iObserverArray->Count();
   431     const TInt count = iObserverArray->Count();
   418     for ( TInt i = count-1; i >=0; i-- )
   432     for ( TInt i = count-1; i >=0; i-- )
   419         {
   433         {
   420         iObserverArray->At( i );
   434         const TCenRepObserverTag& observerTag = iObserverArray->At( i );
   421         iObserverArray->Delete( i );
   435         iObserverArray->Delete( i );
   422         }
   436         }
   423     }
   437     }
   424 
   438 
   425 // ---------------------------------------------------------
   439 // ---------------------------------------------------------