photosgallery/viewframework/tvout/src/glxtv.cpp
branchRCL_3
changeset 15 191387a8b767
parent 13 bcb43dc84c44
child 18 78ad99c24f08
equal deleted inserted replaced
14:2dac0fdba72b 15:191387a8b767
   157 void CGlxTv::CGlxTvOutCenRepMonitor::ConstructL()
   157 void CGlxTv::CGlxTvOutCenRepMonitor::ConstructL()
   158     {
   158     {
   159 	TRACER("CGlxTv::CGlxTvOutCenRepMonitor::ConstructL");
   159 	TRACER("CGlxTv::CGlxTvOutCenRepMonitor::ConstructL");
   160     CActiveScheduler::Add( this );
   160     CActiveScheduler::Add( this );
   161 #ifdef __MARM
   161 #ifdef __MARM
   162     CGSServerEngine* aGSServerEngine= CGSServerEngine::NewLC();
   162     CGSServerEngine* gsServerEngine= CGSServerEngine::NewLC();
   163     iSettingsTVAspectRatio = aGSServerEngine->AspectRatioL();
   163     iSettingsTVAspectRatio = gsServerEngine->AspectRatioL();
   164     CleanupStack::Pop(aGSServerEngine);
   164     CleanupStack::Pop(gsServerEngine);
   165 #else
   165 #else
   166     iSettingsTVAspectRatio = 0;
   166     iSettingsTVAspectRatio = 0;
   167 #endif
   167 #endif
   168     }
   168     }
   169 
   169 
   386 
   386 
   387     // Retrieve the aspect ratio and the settings info from CenRep        
   387     // Retrieve the aspect ratio and the settings info from CenRep        
   388     iAspectRatio  = KErrNotFound;
   388     iAspectRatio  = KErrNotFound;
   389    
   389    
   390 #ifdef __MARM
   390 #ifdef __MARM
   391     CGSServerEngine* aGSServerEngine = CGSServerEngine::NewLC();
   391     CGSServerEngine* gsServerEngine = CGSServerEngine::NewLC();
   392     iAspectRatio = aGSServerEngine->AspectRatioL();
   392     iAspectRatio = gsServerEngine->AspectRatioL();
   393     CleanupStack::Pop(aGSServerEngine);
   393     CleanupStack::Pop(gsServerEngine);
   394 	User::LeaveIfError( iAspectRatio );
   394 	User::LeaveIfError( iAspectRatio );
   395 #else
   395 #else
   396 	iAspectRatio = 0;
   396 	iAspectRatio = 0;
   397 #endif
   397 #endif
   398     // note: Constants are defined in the GSServerEngine.cpp and not exported
   398     // note: Constants are defined in the GSServerEngine.cpp and not exported