Update contrib.
1 // Copyright (c) 2006-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\plugins\hexrypt\t_hexhook.h
18 #if !defined(__T_HEXHOOK_H__)
19 #define __T_HEXHOOK_H__
21 #include <f32plugin.h>
25 The actual implementation of the test hex plugin hook.
26 It implements all of the pure virtual functions from CTestHexHook.
29 class CTestHexHook: public CFsPlugin
32 static CTestHexHook* NewL();
35 virtual void InitialiseL();
36 virtual TInt DoRequestL(TFsPluginRequest& aRequest);
39 enum TOperation {EFileOpen, EFileDelete, EFileRename, EFileClose};
44 TInt HexFileOpen(TFsPluginRequest& aRequest);
45 TInt HexFileRead(TFsPluginRequest& aRequest);
49 TInt HexPluginName(TDes& aName);