phoneapp/phoneuiutils/src/cphonecenrepproxy.cpp
branchRCL_3
changeset 61 41a7f70b3818
parent 0 5f000ab63145
child 62 5266b1f337bd
equal deleted inserted replaced
58:40a3f856b14d 61:41a7f70b3818
    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>
       
    32 #include    <AvkonInternalCRKeys.h>
    31 #include    <AvkonInternalCRKeys.h>
    33 #include    <btengdomaincrkeys.h> 
    32 #include    <btengdomaincrkeys.h> 
    34 #include    <utf.h>
    33 #include    <utf.h>
    35 
    34 
    36 #include    "phoneui.pan"
    35 #include    "phoneui.pan"
   144     iTelephonyVariantReadOnlyValues = KPhoneVariantReadOnlyDefaultValue;
   143     iTelephonyVariantReadOnlyValues = KPhoneVariantReadOnlyDefaultValue;
   145     iPhoneUIVariantReadOnlyValues = KPhoneVariantReadOnlyDefaultValue;
   144     iPhoneUIVariantReadOnlyValues = KPhoneVariantReadOnlyDefaultValue;
   146     
   145     
   147     User::LeaveIfError( GetTelephonyVariantData() );
   146     User::LeaveIfError( GetTelephonyVariantData() );
   148     User::LeaveIfError( GetPhoneUIVariantData() );
   147     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 );
       
   162     }
   148     }
   163 
   149 
   164 // ---------------------------------------------------------
   150 // ---------------------------------------------------------
   165 // CPhoneCenRepProxy::HandleNotifyL
   151 // CPhoneCenRepProxy::HandleNotifyL
   166 // ---------------------------------------------------------
   152 // ---------------------------------------------------------
   429 void CPhoneCenRepProxy::CancelAllNotifies()
   415 void CPhoneCenRepProxy::CancelAllNotifies()
   430     {
   416     {
   431     const TInt count = iObserverArray->Count();
   417     const TInt count = iObserverArray->Count();
   432     for ( TInt i = count-1; i >=0; i-- )
   418     for ( TInt i = count-1; i >=0; i-- )
   433         {
   419         {
   434         const TCenRepObserverTag& observerTag = iObserverArray->At( i );
   420         iObserverArray->At( i );
   435         iObserverArray->Delete( i );
   421         iObserverArray->Delete( i );
   436         }
   422         }
   437     }
   423     }
   438 
   424 
   439 // ---------------------------------------------------------
   425 // ---------------------------------------------------------