phoneapp/phoneuiutils/src/cphonecallthememonitor.cpp
changeset 22 6bb1b21d2484
parent 21 92ab7f8d0eab
child 51 f39ed5e045e0
equal deleted inserted replaced
21:92ab7f8d0eab 22:6bb1b21d2484
    52 void CPhoneCallThemeMonitor::ConstructL()
    52 void CPhoneCallThemeMonitor::ConstructL()
    53     {
    53     {
    54     __LOGMETHODSTARTEND( EPhoneUIUtils, "CPhoneCallThemeMonitor::ConstructL ()" );    
    54     __LOGMETHODSTARTEND( EPhoneUIUtils, "CPhoneCallThemeMonitor::ConstructL ()" );    
    55 
    55 
    56     // Get all current values
    56     // Get all current values
    57     TRAP_IGNORE( ReadAllL() );
    57     TRAP_IGNORE( ReadAllL() );    
    58     
       
    59 // <-- QT PHONE START-->    
       
    60     // Start listen changes in setting and image path
       
    61     /*CPhoneCenRepProxy::Instance()->NotifyChangeL(
       
    62         KCRUidThemes, 
       
    63         KThemesCallImagePath,
       
    64         this );
       
    65     
       
    66     CPhoneCenRepProxy::Instance()->NotifyChangeL(
       
    67         KCRUidThemes, 
       
    68         KThemesCallImageSetting,
       
    69         this );*/
       
    70 // <-- QT PHONE END-->        
       
    71     }
    58     }
    72 
    59 
    73 // -----------------------------------------------------------------------------
    60 // -----------------------------------------------------------------------------
    74 // CPhoneCallThemeMonitor::NewL
    61 // CPhoneCallThemeMonitor::NewL
    75 // Two-phased constructor.
    62 // Two-phased constructor.
   177         {
   164         {
   178         delete iCallerImageThemePath;
   165         delete iCallerImageThemePath;
   179         iCallerImageThemePath = NULL;
   166         iCallerImageThemePath = NULL;
   180         iCallerImageThemePath = HBufC::NewL( KMaxFilePathLength );
   167         iCallerImageThemePath = HBufC::NewL( KMaxFilePathLength );
   181         TPtr imagePtr ( iCallerImageThemePath->Des() );
   168         TPtr imagePtr ( iCallerImageThemePath->Des() );
   182 
       
   183 // <-- QT PHONE START-->        
       
   184         // Get image file path
       
   185         /*CPhoneCenRepProxy::Instance()->GetString(
       
   186             KCRUidThemes,
       
   187             KThemesCallImagePath,
       
   188             imagePtr );*/
       
   189 // <-- QT PHONE END-->
       
   190             
   169             
   191         __PHONELOG1( EBasic, EPhoneUIUtils,
   170         __PHONELOG1( EBasic, EPhoneUIUtils,
   192             "CPhoneCallThemeMonitor::ReadAllL -> image path = %S", &imagePtr );
   171             "CPhoneCallThemeMonitor::ReadAllL -> image path = %S", &imagePtr );
   193         } 
   172         } 
   194     else
   173     else