phoneclientserver/phoneserver/Src/Ussd/CPhSrvUssdManager.cpp
branchRCL_3
changeset 12 71268bfa7aea
parent 9 71e7b994dff4
child 18 594d59766373
equal deleted inserted replaced
11:586d88ba9aa1 12:71268bfa7aea
    51 #include "PhSrvDebugInfo.h"
    51 #include "PhSrvDebugInfo.h"
    52 #include <e32property.h>
    52 #include <e32property.h>
    53 
    53 
    54 #include <NcnListInternalPSKeys.h>
    54 #include <NcnListInternalPSKeys.h>
    55 #include <centralrepository.h>
    55 #include <centralrepository.h>
    56 #include <telinternalcrkeys.h>
    56 #include <telservicesinternalcrkeys.h>
    57 #include <coreapplicationuisdomainpskeys.h>
    57 #include <coreapplicationuisdomainpskeys.h>
    58 
    58 
    59 
    59 
    60 // CONSTANTS
    60 // CONSTANTS
    61 const TInt KPhSrvDefaultValue = 0x00000000;
    61 const TInt KPhSrvDefaultValue = 0x00000000;
  1974     // not allowed.
  1974     // not allowed.
  1975     if ( iVariantReadOnlyValues == KPhSrvDefaultValue )
  1975     if ( iVariantReadOnlyValues == KPhSrvDefaultValue )
  1976         {
  1976         {
  1977         CRepository* cenRepSession = NULL;
  1977         CRepository* cenRepSession = NULL;
  1978         TRAP ( err ,
  1978         TRAP ( err ,
  1979                cenRepSession = CRepository::NewL( KCRUidTelVariation ) );
  1979                cenRepSession = CRepository::NewL( KCRUidTelSrvVariation ) );
  1980         if ( err == KErrNone )
  1980         if ( err == KErrNone )
  1981             {
  1981             {
  1982             err = cenRepSession->Get( KTelVariationFlags,
  1982             err = cenRepSession->Get( KTelSrvVariationFlags,
  1983                                    iVariantReadOnlyValues );
  1983                                    iVariantReadOnlyValues );
  1984             }
  1984             }
  1985         delete cenRepSession;
  1985         delete cenRepSession;
  1986         }
  1986         }
  1987 
  1987