author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 26 Jan 2010 13:13:38 +0200 | |
changeset 14 | 5d2844f35677 |
parent 2 | 4122176ea935 |
permissions | -rw-r--r-- |
0 | 1 |
/* |
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
2 |
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
0 | 3 |
* All rights reserved. |
4 |
* This component and the accompanying materials are made available |
|
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
0 | 6 |
* which accompanies this distribution, and is available |
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
* |
|
9 |
* Initial Contributors: |
|
10 |
* Nokia Corporation - initial contribution. |
|
11 |
* |
|
12 |
* Contributors: |
|
13 |
* |
|
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
14 |
* Description: |
0 | 15 |
* |
16 |
*/ |
|
17 |
||
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
18 |
|
0 | 19 |
#include "T_TestFSY1.h" |
20 |
||
21 |
// EPOC includes |
|
22 |
#include <f32ver.h> |
|
23 |
||
24 |
/*@{*/ |
|
25 |
_LIT(KFileSystemName, "TestFileSystem1"); |
|
26 |
||
27 |
const TInt KMajorVersionNumber=1; |
|
28 |
const TInt KMinorVersionNumber=0; |
|
29 |
/*@}*/ |
|
30 |
||
31 |
CFileSystem* CTestFileSystem1::NewL() |
|
32 |
// |
|
33 |
// Return File System |
|
34 |
// |
|
35 |
{ |
|
36 |
return (new (ELeave) CTestFileSystem1); |
|
37 |
} |
|
38 |
||
39 |
CTestFileSystem1::CTestFileSystem1() |
|
40 |
// |
|
41 |
// Constructor |
|
42 |
// |
|
43 |
{ |
|
44 |
} |
|
45 |
||
46 |
TInt CTestFileSystem1::Install() |
|
47 |
// |
|
48 |
// Install the file system |
|
49 |
// |
|
50 |
{ |
|
51 |
iVersion=TVersion(KMajorVersionNumber, KMinorVersionNumber, KF32BuildVersionNumber); |
|
52 |
return(SetName(&KFileSystemName)); |
|
53 |
} |
|
54 |
TBool CTestFileSystem1::IsExtensionSupported() const |
|
55 |
// |
|
56 |
// Return false to disallow mount extension on this file system |
|
57 |
// |
|
58 |
{ |
|
59 |
return EFalse; |
|
60 |
} |
|
61 |
||
62 |
extern "C" { |
|
63 |
||
64 |
EXPORT_C CFileSystem* CreateFileSystem() |
|
65 |
// |
|
66 |
// Create a new file system |
|
67 |
// |
|
68 |
{ |
|
69 |
return(CTestFileSystem1::NewL()); |
|
70 |
} |
|
71 |
} |