equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Utility for thumbnail tasks handling files |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #include <glxtnfileutility.h> |
|
21 |
|
22 /*static*/ CGlxtnFileUtility* CGlxtnFileUtility::NewL() |
|
23 { |
|
24 CGlxtnFileUtility* self = new (ELeave) CGlxtnFileUtility; |
|
25 |
|
26 CleanupStack::PushL(self); |
|
27 self->ConstructL(); |
|
28 CleanupStack::Pop(); |
|
29 |
|
30 return self; |
|
31 } |
|
32 |
|
33 CGlxtnFileUtility::~CGlxtnFileUtility() |
|
34 { |
|
35 iFs.Close(); |
|
36 } |
|
37 |
|
38 RFs& CGlxtnFileUtility::FsSession() |
|
39 { |
|
40 return iFs; |
|
41 } |
|
42 |
|
43 void CGlxtnFileUtility::CheckBadFileListL(const TDesC& /*aFilename*/) |
|
44 { |
|
45 } |
|
46 |
|
47 void CGlxtnFileUtility::ClearBadFileMarker() |
|
48 { |
|
49 } |
|
50 |
|
51 TBool CGlxtnFileUtility::IsPersistentSize(const TSize& /*aSize*/) |
|
52 { |
|
53 return EFalse; |
|
54 } |
|
55 |
|
56 CGlxtnFileUtility::CGlxtnFileUtility() |
|
57 { |
|
58 } |
|
59 |
|
60 void CGlxtnFileUtility::ConstructL() |
|
61 { |
|
62 User::LeaveIfError(iFs.Connect()); |
|
63 } |
|
64 |
|
65 // END OF FILE |
|