contextframework/cfw/src/cfclient/cfcontextservice.cpp
branchRCL_3
changeset 18 0818dd463d41
parent 0 2e3d3ce01487
child 19 924385140d98
equal deleted inserted replaced
17:5e7d68cc22e0 18:0818dd463d41
     1 /*
     1 /*
     2 * Copyright (c) 2008-2008 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2008-2010 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 = buffer = WriteStreamContextQueryLC( aContextQuery );
   294     HBufC8* 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