Update contrib.
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // f32test\handlesharing\handshare.h
25 class RFileHandleSharer : public RSessionBase
33 EMsgPassInvalidFileHandle,
34 EMsgPassFileHandleProcess,
41 TInt SetTestDrive(TInt aDrive); //set the drive to test
42 TInt GetFileHandle(TInt &aHandle, TFileMode aFileMode); //get file handle from server1
43 TInt GetFileHandle2(TInt &aHandle, TFileMode aFileMode); //get file handle from server2
44 TInt PassFileHandle(TInt filehandle , RFs &session); //to test the
45 TInt PassFileHandle(TIpcArgs& aIpcArgs);
46 TInt PassFileHandleProcess();
47 TInt PassInvalidFileHandle(TIpcArgs& aIpcArgs);
53 class RFileHandleSharer2 : public RFileHandleSharer
57 TInt GetFileHandle(TInt &aHandle, TFileMode aFileMode);
58 TInt PassFileHandleNew(TIpcArgs& aIpcArgs);
66 _LIT8(KTestData, "Client Write Client Write");
67 _LIT8(KTestData1, "Server Write Server Write");
70 _LIT( KSvrFileName, "mini.txt");
71 _LIT( KCliFileName, "mighty.txt");