diff -r 67457b2ffb33 -r feebad15db8c camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxediskmonitor/cxesysutil.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxediskmonitor/cxesysutil.h Thu Jul 15 01:53:45 2010 +0300 @@ -0,0 +1,46 @@ +/* +* Copyright (c) 2010 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: Stub class for testing purposes +* +*/ + +#ifndef CXESYSUTIL_H +#define CXESYSUTIL_H + +#include +#include + +class RFs; +class CxeSettings; + +class CxeSysUtil + { + +public: + + static TBool DiskSpaceBelowCriticalLevel( + RFs* aFs, + TInt aBytesToWrite, + TInt aDrive); + + static qint64 spaceAvailable(RFs &fs, int index, CxeSettings &settings); + static void setSpaceAvailable(qint64 aSpaceAvailable); + + static int getCameraDrive(RFs &fs); + +public: + static qint64 mSpaceAvailable; + }; + +#endif // CXESYSUTIL_H