--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/engine/collectionframework/thumbnailcreator/test/stubs/glxtnfileutilitystub.cpp Fri Mar 19 09:28:59 2010 +0200
@@ -0,0 +1,65 @@
+/*
+* Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Utility for thumbnail tasks handling files
+*
+*/
+
+
+
+#include <glxtnfileutility.h>
+
+/*static*/ CGlxtnFileUtility* CGlxtnFileUtility::NewL()
+ {
+ CGlxtnFileUtility* self = new (ELeave) CGlxtnFileUtility;
+
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop();
+
+ return self;
+ }
+
+CGlxtnFileUtility::~CGlxtnFileUtility()
+ {
+ iFs.Close();
+ }
+
+RFs& CGlxtnFileUtility::FsSession()
+ {
+ return iFs;
+ }
+
+void CGlxtnFileUtility::CheckBadFileListL(const TDesC& /*aFilename*/)
+ {
+ }
+
+void CGlxtnFileUtility::ClearBadFileMarker()
+ {
+ }
+
+TBool CGlxtnFileUtility::IsPersistentSize(const TSize& /*aSize*/)
+ {
+ return EFalse;
+ }
+
+CGlxtnFileUtility::CGlxtnFileUtility()
+ {
+ }
+
+void CGlxtnFileUtility::ConstructL()
+ {
+ User::LeaveIfError(iFs.Connect());
+ }
+
+// END OF FILE