clock/clockengines/clockserver/server/src/clockserver.cpp
changeset 32 ea672fcb0ea0
parent 18 c198609911f9
equal deleted inserted replaced
26:a949c2543c15 32:ea672fcb0ea0
   214     
   214     
   215 	TInt returnVal( KErrNone );	
   215 	TInt returnVal( KErrNone );	
   216 	CRepository* cenRep( NULL );
   216 	CRepository* cenRep( NULL );
   217 	
   217 	
   218 	// Open the repository.
   218 	// Open the repository.
   219 	TRAPD( errVal, cenRep = CRepository::NewL( KCRUidNitz ) );
   219 	TRAPD( errVal, cenRep = CRepository::NewL( TUid::Uid(KCRUidNitz ) ) );
   220 	if( KErrNone == errVal ) 
   220 	if( KErrNone == errVal ) 
   221 		{
   221 		{
   222 		// Read the key.
   222 		// Read the key.
   223 		errVal = cenRep->Get( KActiveProtocol, aPluginId );
   223 		errVal = cenRep->Get( KActiveProtocol, aPluginId );
   224 		
   224 		
   246     
   246     
   247 	TInt returnVal( KErrNone );   
   247 	TInt returnVal( KErrNone );   
   248     CRepository* cenRep( NULL );
   248     CRepository* cenRep( NULL );
   249     
   249     
   250     // Open the repository.
   250     // Open the repository.
   251     TRAPD( errVal, cenRep = CRepository::NewL( KCRUidNitz ) );
   251     TRAPD( errVal, cenRep = CRepository::NewL( TUid::Uid(KCRUidNitz ) ) );
   252     if( KErrNone == errVal ) 
   252     if( KErrNone == errVal ) 
   253         {
   253         {
   254         // Update the key.
   254         // Update the key.
   255         errVal = cenRep->Set( KActiveProtocol, aPluginId );
   255         errVal = cenRep->Set( KActiveProtocol, aPluginId );
   256         
   256