First public contribution.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
22 class CEmptyExtProxyDrive : public CBaseExtProxyDrive
25 static CEmptyExtProxyDrive* NewL(CProxyDrive* aProxyDrive, CMountCB* aMount);
26 ~CEmptyExtProxyDrive();
29 CEmptyExtProxyDrive(CProxyDrive* aProxyDrive, CMountCB* aMount);
32 class CEmptyProxyDriveFactory : public CProxyDriveFactory
35 CEmptyProxyDriveFactory();
36 virtual TInt Install();
37 virtual CProxyDrive* NewProxyDriveL(CProxyDrive* aProxy,CMountCB* aMount);
40 CEmptyExtProxyDrive* CEmptyExtProxyDrive::NewL(CProxyDrive* aProxyDrive, CMountCB* aMount)
42 CEmptyExtProxyDrive* temp=new(ELeave) CEmptyExtProxyDrive(aProxyDrive,aMount);
47 CEmptyExtProxyDrive::CEmptyExtProxyDrive(CProxyDrive* aProxyDrive, CMountCB* aMount):CBaseExtProxyDrive(aProxyDrive,aMount)
51 CEmptyExtProxyDrive::~CEmptyExtProxyDrive()
55 CEmptyProxyDriveFactory::CEmptyProxyDriveFactory()
59 TInt CEmptyProxyDriveFactory::Install()
61 _LIT(KEmptyName,"TestFileExtension");
62 return(SetName(&KEmptyName));
65 CProxyDrive* CEmptyProxyDriveFactory::NewProxyDriveL(CProxyDrive* aProxy,CMountCB* aMount)
67 return(CEmptyExtProxyDrive::NewL(aProxy,aMount));
72 EXPORT_C CProxyDriveFactory* CreateFileSystem()
74 // Create a new file system
77 return(new CEmptyProxyDriveFactory());