contextframework/cfw/src/cfclient/cfcontextservice.cpp
branchRCL_3
changeset 82 4610cd70c542
parent 63 c2c61fdca848
equal deleted inserted replaced
70:739cef680932 82:4610cd70c542
     1 /*
     1 /*
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2008-2008 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   289     FUNC_LOG;
   289     FUNC_LOG;
   290     
   290     
   291     TInt err = KErrNone;
   291     TInt err = KErrNone;
   292 
   292 
   293     // Stream context query set into buffer
   293     // Stream context query set into buffer
   294     HBufC8* buffer = WriteStreamContextQueryLC( aContextQuery );
   294     HBufC8* buffer = buffer = WriteStreamContextQueryLC( aContextQuery );
   295     HBufC8* resultBuffer = HBufC8::NewLC( iRequestBufferSize );
   295     HBufC8* resultBuffer = HBufC8::NewLC( iRequestBufferSize );
   296     TPtr8 resultBufferPtr = resultBuffer->Des();
   296     TPtr8 resultBufferPtr = resultBuffer->Des();
   297     TPckg<TInt> bufferSizePtr( iRequestBufferSize );
   297     TPckg<TInt> bufferSizePtr( iRequestBufferSize );
   298 
   298 
   299     // Send request to server
   299     // Send request to server