cryptomgmtlibs/securitytestfw/test/testutil/client/testutilclient.cpp
changeset 8 35751d3474b7
parent 0 2c201484c85f
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2004-2009 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 the License "Eclipse Public License v1.0"
     5 * under the terms of the License "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".
    15 * TestUtil - client testutils interface implementation
    15 * TestUtil - client testutils interface implementation
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 
       
    21 
       
    22 /**
    20 /**
    23  @file 
    21  @file 
    24  @test
    22  @test
    25  @internalComponent
    23  @internalComponent
    26 */
    24 */
    27  
    25  
    28 #include "testutilsdpclient.h"
    26 #include "testutilclient.h"
    29 #include "testutilclientserver.h"
    27 #include "testutilclientserver.h"
    30 
    28 
    31 static TInt StartTestUtilServer()
    29 static TInt StartTestUtilServer()
    32 	{
    30 	{
    33 	const TUidType serverUid(KNullUid, KNullUid, KServerUid3);
    31 	const TUidType serverUid(KNullUid, KNullUid, KServerUid3);
   172 	User::LeaveIfError(SendReceive(EGetNumFiles, TIpcArgs(&aDirName, &getNum)));
   170 	User::LeaveIfError(SendReceive(EGetNumFiles, TIpcArgs(&aDirName, &getNum)));
   173 	
   171 	
   174 	return numFiles;
   172 	return numFiles;
   175 	}
   173 	}
   176 
   174 
       
   175 EXPORT_C TInt RTestUtilSession::SetSecureClock(TInt aTimeOffset)
       
   176 	{
       
   177 	return SendReceive(ESetSecureClock,TIpcArgs(aTimeOffset));
       
   178 	}
       
   179 
   177 // End of file
   180 // End of file