sl@0: /** sl@0: * Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * File Name: f32test/fileshare/handshare64bit.h sl@0: * Client side Interface for the 64bit file handle server sl@0: * used by t_file64bit.cpp sl@0: * sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: sl@0: #ifndef __HANDSHARE64BIT_H__ sl@0: #define __HANDSHARE64BIT_H__ sl@0: #include sl@0: #include sl@0: sl@0: class RFileHandleSharer64Bit : public RSessionBase sl@0: { sl@0: public: sl@0: enum TMessage sl@0: { sl@0: EMsgGetFileHandleLargeFile, sl@0: EMsgPassFileHandleProcessLargeFileClient, sl@0: EMsgPassFileHandleProcessLargeFileCreator, sl@0: EMsgExit, sl@0: EMsgSync, sl@0: EMsgDrive sl@0: }; sl@0: public: sl@0: TInt Connect(); sl@0: TInt SetTestDrive(TInt aDrive); sl@0: TInt GetFileHandleLargeFile2(TInt &aHandle, TFileMode aFileMode); sl@0: TInt PassFileHandleProcessLargeFileClient(TIpcArgs& aIpcArgs); sl@0: TInt PassFileHandleProcessLargeFileCreator(); sl@0: TInt Exit(); sl@0: void Sync(); sl@0: }; sl@0: sl@0: sl@0: _LIT8(KTestData, "Client Write Client Write"); sl@0: _LIT8(KTestData1, "Server Write Server Write"); sl@0: _LIT8(KTestData2, "How"); sl@0: _LIT8(KTestData3, "How are U"); sl@0: _LIT8(KTestData4, "Server!!!"); sl@0: sl@0: sl@0: _LIT( KSvrFileName, "mini.txt"); sl@0: _LIT( KCliFileName, "mighty.txt"); sl@0: _LIT( KServerFileName, "server.txt"); sl@0: sl@0: sl@0: #endif sl@0: